Credit card

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
phpcoder
Forum Contributor
Posts: 158
Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK

Credit card

Post by phpcoder »

Hi ,
I m doing work on shopping cart my client has a merchant account in bank . I knw the check out page and its processing will b hosted on secure server (SSL) .
After client fill up the checkout form and press submit plz guide me what i have to do after this
1) i think i have to save all data in databse and how i will do vaildation of credit card and amount deduction and transfer to account etc . plz help me
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

To work out how to do the credit card processsing you have to contact the bank - they all do things differently when it comes to sending info to their servers. They will then do the validation and the money transfer. Don't save credit card numbers on your server if at all possible - you don't want to be in trouble if someone hacks it do you?

Mac
User avatar
phpcoder
Forum Contributor
Posts: 158
Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK

Post by phpcoder »

so i only have to get data from client that is credut card # etc and then send it to my bank the will do all validation and mony transfer and in case the credit is invalid due to any reason they will reply to me is it ?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

In a nutshell, yes. But the actual procedure will depend on the bank.

Mac
Post Reply