Jump to content

Paypal module: payment error [differences between total_paid & total_paid_real]


Recommended Posts

  • 6 months later...

Ive got the same problem with the sagepay module, but only with orders over 1000. I know whats causing it, its the comma as the thousand seperator so it is being read as 1.00 instead of 1,000 - I just cant find where to fix it!

Link to comment
Share on other sites

Scratch that, found it. In case anyone else has the saem problem:

Do a search for "number_format", look for:
number_format(xxx,2); (Where xxx can be anythiing)
Replace with
number_format(xxx,2,'.','');

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