Jump to content

Recommended Posts

I have two sites on two different servers

 

server1: has the purchase page where it asks for credit card numbers etc.

 

server2: has the CGI files to send payment data directly into the payment processor.

 

I cannot put the CGI files on server1 due to security restrictions, etc.

 

My question is: How can I securely transmit the credit card data from server1 to server2?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/227415-submitting-credit-card-numbers/
Share on other sites

1. there are laws that deal with credit card handling and processing.

2. You MUST have a certificate.

 

 

To answer your question: https://

The problem: You will have to span a certificate across 2 domains, not sure if that is possible.  Otherwise, your data will not be encrypted correctly.

Suggestion:  All data, processing shouldn't span 2 domains, it should be handled on one.  Send the cart to second domain, then process there. Contact the processor to see what they require, and they should help you get it set up.

 

Remember: #1 above.

Thanks for the quick replies guys

 

So how about this. I move the purchase page (just an HTML page) on the second server, such that when the submit button is pressed, then it submits to the CGI script that resides on the same server.

 

In this case, I do not have to get two SSL certificates, and all processing is localized on one machine

 

Would this work? Keeping in  mind that the data would be sent to the CGI script via POST. Is this okay, so long as I have SSL?

 

Thanks!

 

Now, keep in mind that i'm submitting data from

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.