Jump to content

Receiving a 10426 Error


pxloft

Recommended Posts

Hi everyone,

Here are some stats before I begin:

 

PS Version: 1.6.0.11

Paypal Module Version: 1.3.8

 

No matter what I do, even after a full clean install, I am not able to get my Paypal Module to work with Express Checkout. All fields are filled in (Business Account, Api Username, Api Password and the Secret Key). 

 

Everytime I test an express checkout it gives me a 10426 Item Total Invallid error (see attached image).

 

Here is a link to another post that someone posted that is having the same exact problems. Everyone image you see he posted is exactly the same for me: https://github.com/PrestaShop/paypalmx/issues/3

 

Thanks a lot for your help in advance!

post-908454-0-64009500-1422772930_thumb.png

Link to comment
Share on other sites

  • 5 months later...
modify this file

/modules/paypalusa/controllers/front/expresscheckout.php

 

wrap any variable that is cast as float with number_format()

 

example

 

change

(float)$product['price_wt']

 

to

number_format((float)$product['price_wt'],2)

Link to comment
Share on other sites

  • 3 months later...

 

modify this file
/modules/paypalusa/controllers/front/expresscheckout.php
 
wrap any variable that is cast as float with number_format()
 
example
 
change
(float)$product['price_wt']
 
to
number_format((float)$product['price_wt'],2)

 

I just started getting 10426 errors in my shop, too.  Customers were using Paypal, but then this error appeared out of thin air. Wish I knew what sparked this change, but this fixed the problem - THANK YOU!!

Link to comment
Share on other sites

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