Page 2 of 2
Posted: Sat Sep 08, 2007 4:55 am
by ryan656
Why do you need to confirm after you collect the credit card information? Just confirm the total price, product details and any shipping info before you ask for their credit card. POST the purchase details to a second form to ask for the card and then cURL the order to the payment gateway.
credit card processing
Posted: Sat Jan 05, 2008 2:15 am
by ryand
why isn't your merchant handling all this for you? For my credit card processing, my merchant takes care of that.
Posted: Sat Jan 05, 2008 6:11 am
by Kieran Huggins
check out the PayPal API - it's quite convenient
Re: credit card processing
Posted: Tue Feb 05, 2008 10:51 pm
by s.jenkins
Hi, I’m new to this forum. I’ve been trying to find the best credit card offers and reviews? I’ve been checking out Finance Globe for some tips.
Anyone have any good or bad experiences? Whats the best deal for rewards?
Re:
Posted: Wed Feb 06, 2008 12:39 am
by Christopher
bluesman333 wrote:Lets say I want to have a page where I collect the credit card number. After collecting the number I want to allow the user to confirm the details before submitting the transaction to the payment gateway. What do I do with the credit card number while the user is on the confirmation page?
You can treat the credit card number like any form value -- except that you must guarantee that the form is submitted using SSL and the HTTPS protocol. So just put the credit card number in a hidden field on the confirmation page. If you want values to carry forward through a series of forms you either need to store them in the session or put them in hidden form fields.
As a security note, if you are going to store credit card numbers in the session make sure you know where the session data is stored. On some shared hosts it may be in /tmp directory accessible to anyone.
Finally, I would recommend that you do not store credit card numbers permenently anywhere on your systems. Use them to verify the transaction and then clear them.