Jump to content

tip the cart out


mrheff

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.