BrockleyJohn Posted April 4, 2016 Posted April 4, 2016 It took some low-level digging to untangle this so I thought I'd share the solution. Using Paypal App on 234BS but likely to be for all app versions... Error: when a customer pays by Paypal Payments Standard, the route from checkout confirmation through to Paypal, payment works fine, but on return to osc they hit an error quoting a missing file: [physical path to catalog]/includes/apps/paypal/modules/PS/api/GetTransactionDetails.php Since this page fails, their basket is not cleared. IPN, however, takes the order to the next status. Symptom: paypal payments standard orders where the customer did return to the site have two history entries confirming the transaction; one from them and one from IPN. If all the orders only have an entry from IPN ... Workaround: make sure a PDT (payment data transfer) identity token is set, and the error is avoided. There are two parts to this - in paypal account settings / website payment preferences / auto return for websites make sure that auto return is on (at the top) and lower down, turn on Payment Data Transfer. Then copy the identity token from that page into the oscommerce paypal payments standard settings. Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x
burt Posted April 4, 2016 Posted April 4, 2016 The advice has always been; signature API Auto Return on PDT on
vinyltom Posted September 28, 2016 Posted September 28, 2016 hi there, i am using paypal standard 3.1 (already came with my osc setup) + osCommerce Online Merchant v2.3.4 and experienced lately very similar problems as described by john (but for more than half a year ipn payments went fine and i did not change any of my settings...). auto return in my paypal profile is on and i also activated PDT (which just triggered shorter debug emails...) and i also found the token but have no field where to insert it (see picture)! any suggestions? thank you very much ín advance, tom
Mikepo Posted September 28, 2016 Posted September 28, 2016 @@vinyltom, Try using the latest PayPal App, that should solve the problem mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!)
♥14steve14 Posted September 28, 2016 Posted September 28, 2016 @@vinyltom Do you have SSL on your site. There was some talk a while ago about PayPal changing its security and requiring everyone to have ssl setup on their sites among other things. Do a search for PayPal SHA-256 on this forum and in google which may help. I think it all comes into effect around this time. REMEMBER BACKUP, BACKUP AND BACKUP
vinyltom Posted September 28, 2016 Posted September 28, 2016 thanks everybody for the advice, i will follow the ssl path first (and keep you posted)!
BrockleyJohn Posted September 28, 2016 Author Posted September 28, 2016 @@vinyltom Do you have SSL on your site. There was some talk a while ago about PayPal changing its security and requiring everyone to have ssl setup on their sites among other things. Do a search for PayPal SHA-256 on this forum and in google which may help. I think it all comes into effect around this time. Actually it's not essential to have an SSL certificate for your own site, though it's a good idea anyway. What you absolutely do need to have are up-to-date protocols on your server so that the calls from your shop to Paypal are able to communicate at the new encryption level. What this means in practice varies a bit from one host to another, so check with your hosting company, Your first step should be to use the Paypal app instead of the PP standard module - it's possible you won't need to do anything else. It's likely that you've only just hit a problem now because Paypal have just withdrawn support for the old protocol. I think the date for the UK is/was sometime this week. Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x
vinyltom Posted September 29, 2016 Posted September 29, 2016 @@BrockleyJohn thank you very much for your support!!! may i ask which paypal app you are using? i found this one => http://addons.oscommerce.com/info/9184 but it seems to me that this works only with the bootstrap version? cheers, tom
BrockleyJohn Posted September 29, 2016 Author Posted September 29, 2016 @@vinyltom that's not for bootstrap but for all versions up to and including 2.3.4 Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x
vinyltom Posted September 29, 2016 Posted September 29, 2016 @@BrockleyJohn yeah, i found out finally and managed to install it; thanx a bunch to all your help!!! cheers, tom
Sam-AUST Posted September 30, 2016 Posted September 30, 2016 @@burt how is auto return URL entered in the case of having more than one online store?
BrockleyJohn Posted September 30, 2016 Author Posted September 30, 2016 @@Sam-AUST if you're asking what to put in the settings in Paypal 'Return URL' field, it doesn't matter: when you're using the app, it feeds the right return URL through the API when it calls Paypal and anything in this setting gets ignored. Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x
Sam-AUST Posted October 1, 2016 Posted October 1, 2016 @@BrockleyJohn thank you, that is handy to know!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.