Last post Dec 13, 2010 02:55 PM by atconway
Dec 09, 2010 11:56 AM|zjc840625|LINK
I have a working scenario question which confused me several days, please help me if you solved similar problem before.
It works like a offsite credit card processing application.
A customer want to buy something on Website A, and when he is ready to pay, the Website A will redirect this customer to Website B, and customer will keyed in his credit card information on Website B, after processing, the customer will redirect back to
My question is: Can I simply use HTTP Post to achieve this goal? Is this the best practice? The problem is: If I use HTTP Post from Website A to Website B, after the credit card processing, I also need to use HTTP Post to redirect the custom back, in order
to return the transaction result to Website A, and make sure the Website A knows which transaction does this result belong to, there must be an internal key setup first when the customer is redirect from A to B, and Website B need to return transaction result
and this internal key to let website A to finalize this transaction in database.
Because I am still new in web application development, so I need some suggestions on this scenario, is there any way I can achieve this goal without maintaining a internal key?
I appreciated any help from any of you.
Thank you very very much.
Dec 13, 2010 02:55 PM|atconway|LINK
The best way to determine how to develop against a 3rd party credit card / payment site is to download their example code, documentation, read their forums, etc. For example 'PayPal' depending on which payment provider you use (i.e. PayFlowPro, WebPayments,
etc) has a bunch of .NET examples, documentation, testing help etc. Any payment provider that you use their services should provide you with this help as it is in their best interests that you have solid code as to not give them a bad wrap for payment processing.
If it happened to be PayPal that you wanted to use, check out the following developers support site:
PayPal X Developer Network:
These types of links depending on your selected payment provider will answer all of your questions on how to build your code to communicate with their processing systems.