Jump to content
Dagorlad

PayPal module suddenly stopped working

Recommended Posts

Please try to contact the merchant:
1.<b>PayPal response:</b>
2.SILOVER -> name=LIVE6.API.1&silo_version=880&app=appdispatcher_apit&TIME=4028165460; domain
3.TIMESTAMP -> 2015-02-25T00:36:01Z

PayPal suddenly stopped working overnight and is reporting the above error:

 

 

 

I am using PrestaShop v1.6.0.6 and the PayPal module v3.7.2

 

I have not changed any configuration settings or anything, the module was working yesterday but now it's stopped. My site is http://abfigures.com

 

I have had around 20 notifications in the past 24 hours and my customers are (understandably) getting annoyed.

 

 

Anybody else experiencing this? Surely I'm not the only one.

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Yes, Of course I did. And the latest of them was written back in January 2015 while all of the others were last updated in 2014. I am not using 'PayPal Europe' and I have updated the secure payment code to use TLS instead of SSL V3. That has been working since my site went live a month or two ago.

 

As far as I could tell, none of them describe the symptoms that I listed in my original post. The module was working fine up until yesterday, with previously successful customers now suddenly unable to make orders.

 

Do you have any suggestions to help? Can you point to the specific one of these 5 pinned posts that actually covers my problem?

Share this post


Link to post
Share on other sites

PayPal response:
    SILOVER -> name=LIVE6.API.1&silo_version=880&app=appdispatcher_apit&TIME=2810113364; domain
    TIMESTAMP -> 2015-02-25T07:49:59Z

Same problem on different ecommerce, and since yesterday February 24 at 15:00 Italian time. The problem on different versions (PayPal V. 3.8.2 to 3.8.1 and also on the PayPal module PD + Extra Fee V 3.8.6) of ecommerce hosted on different web servers. :wacko:

 

Do you have any suggestions to help?
 

Edited by Arteinfo (see edit history)

Share this post


Link to post
Share on other sites

Hello,

 

I've the same issue since yesterday :

SILOVER -> name=LIVE6.API.1&silo_version=880&app=appdispatcher_apit&TIME=1133178196; domain
TIMESTAMP -> 2015-02-25T08:39:31Z

I've no change in my configuration and I use the lastest version of module (V.3.8.2 for paypal europe)

 

Do you have any suggestions to help ?

Edited by FlYos (see edit history)

Share this post


Link to post
Share on other sites
Hi,
we actually had support requests concerning this problem.
Our teams are about to investigated we will return quickly.

 

Regards, 

202 ecommerce

Share this post


Link to post
Share on other sites

PayPal sends the log and refers to a 3d that solves nothing ... (https://www.prestashop.com/forums/topic/372978-yesterday-worked-today-error-from-paypal-silover/)

 

SetExpressCheckoutRequest
returnurl "https://www.tecnoacquisti.com/modules/paypal/express_checkout/payment.php"
cancelurl "http://www.tecnoacquisti.com/pc-desktop/lenovo/5130-pc-lenovo-e50-00-4gb-ram-500gb-hdd-win-81--90bx0018ix.html?paypal_ec_canceled=1&live_configurator_token=9b368cb8fae803f79af1ac4f56dc3a6c&id_shop=1&id_employee=2&theme=&theme_font="
noshipping "1"
addroverride "1"
solutiontype "Sole"
landingpage "Login"
method "SetExpressCheckout"
version "106"
buttonsource "PRESTASHOP_EC"
paymentrequest_0_currencycode "EUR"
paymentrequest_0_amt "307.63"
paymentrequest_0_itemamt "303.48"
paymentrequest_0_shippingamt "4.15"
paymentrequest_0_paymentaction "Authorization"
paymentrequest_0_shiptocountrycode "IT"
paymentrequest_0_name "PC Lenovo E50-00 4GB RAM\, 500GB HDD WIN 8.1 "
paymentrequest_0_number "5130"
paymentrequest_0_qty "1"
paymentrequest_0_desc "Con il desktop Lenovo E50-00\, produttivit\\u00e0 e rispa..."

Timestamp 24-Feb-2015 19:56:41 GMT
SetExpressCheckoutResponse
token "EC-8AS24328BX814505X"
timestamp "2015-02-24T19:56:41Z"
correlationid "5db5828f4feb1"
ack "Success"
version "106"

 

----

 

SetExpressCheckoutRequest
returnurl "http://softair.tangotactical.it/modules/paypal/express_checkout/payment.php"
cancelurl "http://softair.tangotactical.it/it/ordine?paypal_ec_canceled=1&multi-shipping="
noshipping "1"
addroverride "1"
solutiontype "Sole"
landingpage "Login"
method "SetExpressCheckout"
version "106"
buttonsource "PRESTASHOP_EC"
paymentrequest_0_currencycode "EUR"
paymentrequest_0_amt "17.31"
paymentrequest_0_itemamt "8.81"
paymentrequest_0_shippingamt "8.50"
paymentrequest_0_paymentaction "Sale"
paymentrequest_0_shiptocountrycode "IT"
paymentrequest_0_name "Mil-tec Bande elastiche per mimetica OD Green" "FMA Type D quick hook FG"
paymentrequest_0_number "3987" "3322"
paymentrequest_0_qty "1" "1"
paymentrequest_0_desc "Mil-tec Banda elastica per mimetica set da due pez..." "FMA Type D quick hook DESet di 3 ganci Quick lock ..."

Timestamp 24-Feb-2015 14:38:24 GMT
SetExpressCheckoutResponse
token "EC-82S36782L6677553D"
timestamp "2015-02-24T14:38:24Z"
correlationid "db3861549ee88"
ack "Success"
version "106"

Edited by Arteinfo (see edit history)

Share this post


Link to post
Share on other sites

Same problem here and still no solution. I use Paypal Option + and I am on a Prestashop 1.4.4.1, I don't have the problem on another website using Prestashop 1.5. I updated the version and it changed nothing. What configuration do you have?

Edited by KzDat (see edit history)

Share this post


Link to post
Share on other sites

Paypal asked me to reinstall cURL as test.

 

Trying it i received this error message:

PYCUR ERROR 77
error: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD

So after a google search i found that solution:

nss-softokn breaks yum/rpm in CentOS 6 In order to fix it do the following:

wget http://mirror.centos.org/centos/6/updates/x86_64/Packages/nss-softokn-freebl-3.14.3-19.el6_6.x86_64.rpm
rpm2cpio nss-softokn-freebl-3.14.3-19.el6_6.x86_64.rpm | cpio -idmv
cd lib64
cp libfreeblpriv3.* /lib64
yum update

After i performed that i have launched a simply:

yum update curl
/etc/init.d/httpd restart

I did that on four servers CentOS 6.3, 6.4

 

I was not thinking about that problem because it was encountered at the same time in e-commerce hosted on four different servers with different ISPs...but those are all on CentOS.

Edited by Arteinfo (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

I have the same problem with Ubuntu 12.04.

 

I tried the solution:

 

 

On line 49 change : 

 

if (!$simple_mode || !preg_match('/[A-Z]+=/', $tmp, $result))
 
with : 
 
if (!$simple_mode || !preg_match('/[TOKEN]+=/', $tmp, $result))

 

 
 
but it don't work!
 
 
After my system administrator tried the solution of Arteinfo (update curl and restart the machine) and it work fine!
 
Thank you Arteinfo!
 
:D
Edited by firebit (see edit history)

Share this post


Link to post
Share on other sites

Hi,

 

I just install php5-curl, restart apache and it works fine !

 

I have debian squeeze + prestashop 1.4.0.9 + paypal 3.0.9

Share this post


Link to post
Share on other sites

Solved!! Thanks.

 

Paypal asked me to reinstall cURL as test.

 

Trying it i received this error message:

PYCUR ERROR 77
error: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD

So after a google search i found that solution:

nss-softokn breaks yum/rpm in CentOS 6 In order to fix it do the following:

wget http://mirror.centos...l6_6.x86_64.rpm
rpm2cpio nss-softokn-freebl-3.14.3-19.el6_6.x86_64.rpm | cpio -idmv
cd lib64
cp libfreeblpriv3.* /lib64
yum update

After i performed that i have launched a simply:

yum update curl
/etc/init.d/httpd restart

I did that on four servers CentOS 6.3, 6.4

 

I was not thinking about that problem because it was encountered at the same time in e-commerce hosted on four different servers with different ISPs...but those are all on CentOS.

Share this post


Link to post
Share on other sites

Hi everyone, 

 

Indeed we were working with PayPal today to manage to understand why all of a sudden the module did not work anymore. 

 

By default, if cURL is enabled on your server, the module uses cURL to communicate with PayPal, but if it is not, then we use the fsockopen protocol.

It seems that the result of the request that the module sends to PayPal has somehow changed, but we do not know why and where this comes from. 

 

By using cURL, you won't have any issues. 

We are still trying to understand how to change that so that it works also for fsockopen protocol. 

Share this post


Link to post
Share on other sites

This is sounding promising. At least the problem is beginning to be understood and possible solutions are emerging. Nice work. Hopefully a change to the PayPal module is coming soon - fingers crossed!

 

In the meantime I will raise a support ticket with my hosting company and see if they can install cURL on their server and restart their tomcat. However, I suspect they won't do this sort of thing lightly as they have literally thousands of customers that might be affected by a restart.

Share this post


Link to post
Share on other sites

Hi everyone, 

 

If you still have the same error, please try to change the following : 

 

In the module/paypal/api/paypal_connect.php 

 

On line 49 change : 

 

if (!$simple_mode || !preg_match('/[A-Z]+=/', $tmp, $result))
 
with : 
 
if (!$simple_mode || !preg_match('/[TOKEN]+=/', $tmp, $result))
 
This worked for us, 
Please let us know if this work for you. 
Thoma
 
  • Like 6

Share this post


Link to post
Share on other sites

I have applied the solution of Arteinfo on my CentOs (6.6) and my paypal module works fine again. Many thanks Arteinfo ;-)

Share this post


Link to post
Share on other sites

 

[..] please try to change the following : 

 

In the module/paypal/api/paypal_connect.php 

 

On line 49 change : 

 

if (!$simple_mode || !preg_match('/[A-Z]+=/', $tmp, $result))
 
with : 
 
if (!$simple_mode || !preg_match('/[TOKEN]+=/', $tmp, $result))
 

 

 

I've tried to update to 3.8.2 but without any result. Now i tried this solution and paypal works again! Thank you!

Edited by garsim (see edit history)

Share this post


Link to post
Share on other sites

 

In the module/paypal/api/paypal_connect.php 

 

On line 49 change : 

 

if (!$simple_mode || !preg_match('/[A-Z]+=/', $tmp, $result))
 
with : 
 
if (!$simple_mode || !preg_match('/[TOKEN]+=/', $tmp, $result))
 
This worked for us, 
Please let us know if this work for you. 

Thoma

 

 

 Hi Thoma, I made the code changes and uploaded them to my site and it works now.

 

Well done and thank you to you and the team for fixing this so quickly.

Share this post


Link to post
Share on other sites

 

In the module/paypal/api/paypal_connect.php 

 

On line 49 change : 

 

if (!$simple_mode || !preg_match('/[A-Z]+=/', $tmp, $result))
 
with : 
 
if (!$simple_mode || !preg_match('/[TOKEN]+=/', $tmp, $result))
 
This worked for us, 
Please let us know if this work for you. 

Thoma

I have a older Paypal module v2.8.6. There the change is on line 15 in module/paypal/api/paypalconnect.php.

 

I applied the change and it seems to work.

 

Thank you!

Share this post


Link to post
Share on other sites

With PrestaShop 1.5.6.2 and PayPal Europe 3.8.1 I received an order without paying the courier, now all OK without changing anything.

 

I upgraded now to PayPal Europe 3.8.2, I have to change the line 49 or leave everything as well?

Share this post


Link to post
Share on other sites

Paypal Europe v3.8.2 has the following changes

1) It adds a specialized "EU" payment page. 

2) It adds a case insensitive check during express checkout for the Paypal transaction status.  'Completed' did not equal 'completed' in some scenarios, so payment would appear to have failed.

 

I upgraded now to PayPal Europe 3.8.2, I have to change the line 49 or leave everything as well?

module/paypal/api/paypal_connect.php has not changed since v3.8.1, so the line number would be the same.  If you are having the issue, then you can try the change Thoma had suggested.

Share this post


Link to post
Share on other sites

Hello,

 

 

someone try to use paypal_login?

 

The PayPal Login module suddenly stopped working. I have tried to regenerate API via sandbox site but still have the problem.

 

1.6.0.11 + PayPal 3.8.1

and

1.6.0.13 + PayPal 3.8.1 or PayPal 3.8.2

 

 

Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request.

 

Marius

Share this post


Link to post
Share on other sites

bellini13, now all is OK without changing anything, I think PayPal fix something.

 
My question is, I need also to change the line 49 or leave everything as well? Now all is OK.
 
Edited by HarryCom (see edit history)

Share this post


Link to post
Share on other sites

Hey @ 202ecommerce

 

Really thank you for the idea of solving the problem like that.

 

This simple fix works great. Thx a lot and enjoy the Week!

 

GOOD JOB - WELL DONE!

 

Greetz,

SM5K

Share this post


Link to post
Share on other sites

Ok... Third time typing this out. None of this works for me. When people try to use paypal express check out, it re-directs them to an error page on my website.

It says:Unfortunately, an error occured while communicating with PayPal.

Short Error Message: Transaction refused because of an invalid argument. See additional error messages for details.
Detailed Error Message: Item total is invalid.
Error Code: 10426
Please contact our Customer service and mention this error code to get this issue resolved.


When people proceed with checkout and use paypal as a method (only method), they go through the re-direct process and end up with this error on Paypal.

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

pixel.gifpixel.gif The link you have used to enter the PayPal system contains an incorrectly formatted item amount.


I have tried fixing the coding as suggested by Thoma, but I do not have a paypal folder nor a paypal_connect.php file.
I have a paypalusa folder, but no api folder, or that php file... Please help me resolve this.

I do have service/payment options restricted to Canada only.. Can't seem to find anything that would cause paypal issues.

Everything was behaving smoothly until recently I had a few complaints.

www.catalog.goodbyewaist.com is my website.

Share this post


Link to post
Share on other sites

Ok... Third time typing this out. None of this works for me. When people try to use paypal express check out, it re-directs them to an error page on my website.

 

It says:Unfortunately, an error occured while communicating with PayPal.

 

Short Error Message: Transaction refused because of an invalid argument. See additional error messages for details.

Detailed Error Message: Item total is invalid.

Error Code: 10426

Please contact our Customer service and mention this error code to get this issue resolved.

 

 

When people proceed with checkout and use paypal as a method (only method), they go through the re-direct process and end up with this error on Paypal.

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

pixel.gifpixel.gif The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

I have tried fixing the coding as suggested by Thoma, but I do not have a paypal folder nor a paypal_connect.php file.

I have a paypalusa folder, but no api folder, or that php file... Please help me resolve this.

 

I do have service/payment options restricted to Canada only.. Can't seem to find anything that would cause paypal issues.

 

Everything was behaving smoothly until recently I had a few complaints.

www.catalog.goodbyewaist.com is my website.

Did this probleme apear before 02-25-15 ? Other question is are you looking in the right folder. Sometimes people search in .../YourTheme/Modules/.... ? If this is right, just look in the supperior folder /yourinstallation/modules/...

 

Greetzs SM5K

Share this post


Link to post
Share on other sites

I've got the same problem after running updates for Ubuntu 14.04 a couple of days ago.

 

For others, who find this topic:

 

Solution for Ubuntu 14.04 + Prestashop v 1.5.6.2

sudo apt-get install php5-curl
sudo service apache2 restart

After I installed PHP curl the problem went away.

Share this post


Link to post
Share on other sites

Hi, I updated my paypal to v3.8.2.

 

I did changed the line 49 as thoma suggested. But still got the same error.

 

I wonder I really have to update curl? I don't have any knowledge on how to update it.

 

Here's the error message:

 

Please try to contact the merchant:

  1. <b>PayPal response:</b>
  2. SILOVER -> name=LIVE5.API.1&silo_version=880&app=appdispatcher_apit&TIME=3230070356; domain
  3. TIMESTAMP -> 2015-03-04T04:14:57Z

 

My website link : http://www.lastline.com.au/

 

Any solution?

Share this post


Link to post
Share on other sites

 

Hi everyone, 

 

If you still have the same error, please try to change the following : 

 

In the module/paypal/api/paypal_connect.php 

 

On line 49 change : 

 

if (!$simple_mode || !preg_match('/[A-Z]+=/', $tmp, $result))
 
with : 
 
if (!$simple_mode || !preg_match('/[TOKEN]+=/', $tmp, $result))
 
This worked for us, 
Please let us know if this work for you. 

Thoma

 

 

 THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It works for me too!

Share this post


Link to post
Share on other sites

Hi, I updated my paypal to v3.8.2.

 

I did changed the line 49 as thoma suggested. But still got the same error.

 

I wonder I really have to update curl? I don't have any knowledge on how to update it.

 

Here's the error message:

 

My website link : http://www.lastline.com.au/

 

Any solution?

 

Check your API credentials in your backoffice > module> Paypal.

 

if you are in test mode should be Sandbox credentials on developpers paypal

or in live mode should be Live api credentials.

Edited by Foovince (see edit history)

Share this post


Link to post
Share on other sites

 

Hi everyone, 

 

If you still have the same error, please try to change the following : 

 

In the module/paypal/api/paypal_connect.php 

 

On line 49 change : 

 

if (!$simple_mode || !preg_match('/[A-Z]+=/', $tmp, $result))
 
with : 
 
if (!$simple_mode || !preg_match('/[TOKEN]+=/', $tmp, $result))
 
This worked for us, 
Please let us know if this work for you. 

Thoma

 

 

Thank you Thoma, it work for me ! ;)

Share this post


Link to post
Share on other sites

I have been searching through a multitude of forums to find a fix to this problem over the last few months, but today I finally cracked it!

 

I uninstalled the existing PayPal module (3.8.6), and uploaded an older version (3.8.2), and it works perfectly!

 

Here's the link - http://addons.prestashop.com/en/payments-gateways-prestashop-modules/1748-paypal.html

 

Please let me know if it works for you. Good luck!

Share this post


Link to post
Share on other sites

I have been searching through a multitude of forums to find a fix to this problem over the last few months, but today I finally cracked it!

 

I uninstalled the existing PayPal module (3.8.6), and uploaded an older version (3.8.2), and it works perfectly!

 

Here's the link - http://addons.prestashop.com/en/payments-gateways-prestashop-modules/1748-paypal.html

 

Please let me know if it works for you. Good luck!

v3.8.2 is the latest version.  Where did you get v3.8.6 from?

Share this post


Link to post
Share on other sites

I only use the module updates and I'm sure those were the numbers I saw. If the answer is simply to uninstall an reinstall the 3.8.2 version, then I hope others benefit from that, as it had me pulling my hair out for months.

Share this post


Link to post
Share on other sites

well, it should be pretty common sense that if you are using an old module with a new version of Prestashop, the likelihood of the old module working is nil, and it would require an update.  pretty much any module you were using would likely require an update.

Share this post


Link to post
Share on other sites

My module all of a sudden stopped working without doing any change or upgrade (presta 1.5.4 and version 3.8.1 paypal). I got the same error

 

  1. <b>PayPal response:</b>
  2. SILOVER -> name=LIVE9.API.1

and when doing the suggested change on line 49, i can no longer access my website as i get a blank page with the following error:

 

[PrestaShop] Fatal error in module paypal_connect:
syntax error, unexpected ''.$host.$script.'' (T_CONSTANT_ENCAPSED_STRING)

 

I have no idea what i can do to solve this problem. It is getting pretty frustrating.

Share this post


Link to post
Share on other sites

 

Hi everyone, 

 

If you still have the same error, please try to change the following : 

 

In the module/paypal/api/paypal_connect.php 

 

On line 49 change : 

 

if (!$simple_mode || !preg_match('/[A-Z]+=/', $tmp, $result))
 
with : 
 
if (!$simple_mode || !preg_match('/[TOKEN]+=/', $tmp, $result))
 
This worked for us, 
Please let us know if this work for you. 

Thoma

 

 

 

hi @202ecommerce, it worked also for me, thanks!

Could you please explain us the change?

Edited by MonDeveloper (see edit history)

Share this post


Link to post
Share on other sites

How do I find this Line 49? If I click on modules/paypal, all I get is a configure option. There's no API option.

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More