mbuswell Posted May 18, 2007 Share Posted May 18, 2007 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 Quote Link to comment Share on other sites More sharing options...
mooloo Posted May 27, 2007 Share Posted May 27, 2007 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.