Post by magzen » Tue Aug 04, 2015 5:08 am

The Payson payment module only works for SEK and EUR currencies when going through with the payment, and doesnt show up as a payment when you change to other currencies, in my example USD and DKK.

I managed to change the code a bit so Payson would show up as payment method when USD and DKK is active, but when making payment for example 76USD it will show up as 76EUR instead of 69EUR when on Paysons website.

So it doesnt convert, would appreciate if someone can help with the code to convert to the correct currency that Payson uses.

Following is the code i changed to make Payson module show up in USD and DKK

catalog/model/payment/paysondirect.php

from

Code: Select all

private $currency_supported_by_p_direct = array('SEK', 'EUR');
to

Code: Select all

private $currency_supported_by_p_direct = array('SEK', 'EUR', 'USD', 'DKK');
on line 5

the module can be found here for free if someone can help me fix the conversion issue.
http://www.opencart.com/index.php?route ... n_id=10923

Thanks

My Opencart Stores
http://www.crea-diem.com
http://www.bazaargadgets.com


Active Member

Posts

Joined
Tue Jun 05, 2012 7:04 pm

Who is online

Users browsing this forum: No registered users and 4 guests