Forum Moderators: buckworks
When the customer has entered his/her details, I would like to execute a script on my server to update their details on my database - whether the payment was accepted / declined etc.
I do _not_ want to have to use their shopping cart or manually enter values into their databases.
If anyone could tell me if this is possible and perhaps link me to their example, I would be very grateful.
-Matt
Also what about order processing? Quite a big area. Stock control facility perhaps? Shipping cost calculations?.The list is endless.
Bottom line is if you have lots of time on your hands and are not expecting your circumstances to change over the next few years then by all means go for it. Otherwise go for an off the shelf method. There's plenty of them around...some come with the php code that you can tweak to your liking.
:)
Good Luck
I pass information into the 2Checkout system and when the payment was approved and processed, 2Checkout calls a script of mine that picks up and does the necessary changes in the database.
It's written in ASP but I could probably answer specific questions about how to do it.
The most difficult thing was doing the decrypt of the MD5 hash (verification that the POST to the "payment received" script is authentic).