Jump to content

Payment processes wrong currency


jkeichin

Recommended Posts

I'm using Paypal Website Payments Pro for my gateway and I've set CAD as my default and only currency. All the invoices and WHMCS payment information shows the correct currency but after receiving a payment PayPal registers the payment as USD. I know for a fact that you pass the currency parameter via the API call to paypal, so I'm thinking that there is a bug in the payment gateway code for paypal WPP. I could fix this myself but the fact that all the php files are encrypted limits my ability to debug and correct this.

 

Please advise!

 

Thanks

James

Link to comment
Share on other sites

ok, figured it out.... what happened was when I first setup the system I created a new currency for CAD. Then I setup the payment gateway for Paypal WPP and then the products, etc... then I decided to not provide USD currency and removed it resulting the payment gateway to think that it needs to still convert the currency to CAD.

 

How I figured this out was that I looked at the database and saw that there was a gateway parameter convertto with a number. There is no option in the gateway parameters window to manage this but after I removed the gateway option and recreated it the convertto parameter in the database changed and the gateway processes the payment in the correct currency.

 

hope that all makes sense and help anyone else out there

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated