Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why Store the Order in Confirmation() method?


nij4t2

Recommended Posts

Hi all,

 

I've looked at the Paypal IPN contribution with interest as a source of information for storing orders prior to moving to a different 3-rd party payment system.

 

The thing I don't understand about it is that it stores the order in the confirmation() method. This seems to me to be earlier than necessary, and leaves orders around which 'get in the way of' orders that are real but did not get to an appropriate status for other reasons.

 

So, by storing the order on the confirmation screen, orders get created for someone who just wanted to find out a shipping quote for an order... and just wanted to see the order total in a suitable form! (i.e. they may not even have planned to buy today at all).

 

Wouldn't this be solved if the store-to-database element of the code was in the process_button() method instead?

 

But as this makes so much sense to me, and the developers chose not to do it, I presume I must be missing something! :(

 

Your thoughts appreciated,

Nij

Link to comment
Share on other sites

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...