Jump to content

PayPal module suddenly stopped working


Dagorlad

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
Link to comment
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?

Link to comment
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)
Link to comment
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)
Link to comment
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)
Link to comment
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
Link to comment
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)
Link to comment
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.

Link to comment
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. 

Link to comment
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.

Link to comment
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
Link to comment
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)
Link to comment
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.

Link to comment
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!

Link to comment
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.

Link to comment
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

Link to comment
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)
Link to comment
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.

Link to comment
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

Link to comment
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.

Link to comment
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?

Link to comment
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!

Link to comment
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)
Link to comment
Share on other sites

  • 3 weeks later...

 

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

Link to comment
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!

Link to comment
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?

Link to comment
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.

Link to comment
Share on other sites

  • 3 months later...

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.

Link to comment
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)
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...