mrheff Posted April 21, 2008 Share Posted April 21, 2008 hi guys, i got a wee problem, i made a wee shop for my bro, and were nearly done managed to scrape by with some ok coding to a point im fairly happy. now were using a real simple payment system called Ideal its a dutch thing, anyway i have a simple checkout created that works through setting up saome variables in a form on my site and sending the user to that Ideal system (on the press of a buton named pay with ideal), that system then takes over taking the user to their bank site to review and confirm payment.. and then sends me a mail phew glad i got all that out.... what i need to do is intercept the form somehow to empty the cart. any ideas lads and ladies? i just dont want the user to have to empty their arrival on return to the site., like ive refilled their cart so i figure i need to switch the cart to an order save that in me db and empty all rows containing their cartid from the carts/basket db just canney figure it oot cap'n. any ideas would be greatly accepted. ta. Link to comment https://forums.phpfreaks.com/topic/102232-tip-the-cart-out/ Share on other sites More sharing options...
ToonMariner Posted April 21, 2008 Share Posted April 21, 2008 does the ideal site not offer a redirection on completion of transaction??? So when the user has paid they are redirected back to your site with either a complete or failed note - you can then use that to display a congrats page and clear out the cart or an error page stating the payment failed. Waiting ion the email could cause you problems - you could check the inbox for emails from ideal and clear carts when the users order number is detected - but email CAN take a while to get through.... Link to comment https://forums.phpfreaks.com/topic/102232-tip-the-cart-out/#findComment-523395 Share on other sites More sharing options...
mrheff Posted April 22, 2008 Author Share Posted April 22, 2008 i wish, they return the homepage url, not even an ok page, so they go to the root. Link to comment https://forums.phpfreaks.com/topic/102232-tip-the-cart-out/#findComment-523720 Share on other sites More sharing options...
ToonMariner Posted April 22, 2008 Share Posted April 22, 2008 really? I would check the documentation - not very useful if you can't verify a purchase automatically and quickly. If they don't offer that then I would switch providers just on this basis! Link to comment https://forums.phpfreaks.com/topic/102232-tip-the-cart-out/#findComment-523781 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.