Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paystation module - no entry to order product downloads table


Recommended Posts

I have the lastest paystation module installed with the virtual products enabled. I am using this for selling movies by download.

 

what i have found is in some cases after successful payment by paystation, there is no entry written to the orders products download table which means then that the download is not available to the customer.

 

I went through the logic checkout_confirmation.php, checkout_success.php and checkout_process.php and I cannot find the reason. It only happens sometimes, and when i went through the logic I cannot understand how the paystation module process writes to the orders table even. All this order table updating logic happens in checkout_process.php - but this appears to be skipped when using the paystation module as the form submit url in checkout_confirmation.php is to paystation. !?!

 

My success page is checkout_success.php - so it appears I am skipping the process file altogether. Obviously the order is successfully processed so it must be doing it somewhere i just cannot see why or how.

 

Does anyone understand how the logic flows for this contribution? I might be able to understand why sometimes the downloads table is not updated.

 

My backup plan is to add to the after_process() a check if the row exists in downloads table and if not to create it, this would at least work around the problem i think.

 

thanks

Link to comment
Share on other sites

  • 2 weeks later...

My return page for Paystation is checkout_process.php and that seems to work pretty well so maybe changing this might fix the problem.

 

It also seems it is a fairly common problem for the orders to not show up after processing if the customer doesn't return to the store correctly. See this post http://www.oscommerce.com/forums/index.php?sho...mp;#entry637177

 

We have the same problem - intermittently losing orders - there are some contribs to record the order before leaving the oscommerce store and going to paystation so hopefully this will help fix the prob if it happens again.

 

See http://www.oscommerce.com/community/contri...rch,held+orders

or

http://www.oscommerce.com/community/contri...check+order+2.5

 

This also looks interesting

http://www.oscommerce.com/forums/index.php?showtopic=61365

 

haven't tried any of them yet but will let you know when I have.

 

I have the lastest paystation module installed with the virtual products enabled. I am using this for selling movies by download.

 

what i have found is in some cases after successful payment by paystation, there is no entry written to the orders products download table which means then that the download is not available to the customer.

 

I went through the logic checkout_confirmation.php, checkout_success.php and checkout_process.php and I cannot find the reason. It only happens sometimes, and when i went through the logic I cannot understand how the paystation module process writes to the orders table even. All this order table updating logic happens in checkout_process.php - but this appears to be skipped when using the paystation module as the form submit url in checkout_confirmation.php is to paystation. !?!

 

My success page is checkout_success.php - so it appears I am skipping the process file altogether. Obviously the order is successfully processed so it must be doing it somewhere i just cannot see why or how.

 

Does anyone understand how the logic flows for this contribution? I might be able to understand why sometimes the downloads table is not updated.

 

My backup plan is to add to the after_process() a check if the row exists in downloads table and if not to create it, this would at least work around the problem i think.

 

thanks

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.
Note: Your post will require moderator approval before it will be visible.

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