Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal App - Payments Standard - GetTransactionDetails Error


BrockleyJohn

Recommended Posts

Posted

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

  • 5 months later...
Posted

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

post-340509-0-84035200-1475052850_thumb.jpg

Posted

@@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!)

Posted

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

Posted

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

Posted

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

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...