Forum Moderators: buckworks
I built a very simple cart myself using asp. The site and cart are up and running so I really don't want to move to a new cart. Reading through the Worldpay documentation I got the impression I would need to write javascript, but writing asp would be a lot easier for me. The problem is I am still a novice.
Basically I am selling one of a kind items so I want to use the callback facility so that successful transactions are sent back to my database and the product is marked as sold. At the moment I am doing this manually when I get emails from Worldpay, but as sales are going up the risk that one item is sold twice is increasing.
I understand GET and POST, but I am not sure how to insert the data that comes back from Worldpay into my database.
Thanks again
Misty
Note that the url is fetched from your website and displayed via the worldpay server (i.e. the customers browser will show a worldpay url, but with your callback page's HTML), so links, image paths etc need to be adjusted accordingly.
You can pass a cartID to Worldpay; this is then returned in the callback POST, along with other transaction info, so you can use this to identify the order.
You then update the relevant order with the callback paid/cancelled/rejected info, update your stock levels, display a message etc - all in your callback page code.
There's lots of info on the Worldpay Support website - see the Select Junior Callback FAQ [support.worldpay.com]. HTH.