Thanks for the fast reply. It was already under selected currencies. Yet for some reason it didn't work. I double checked my currencies too, Swedish Krona is set as default and the currency code is SEK, which I check is also correct. But for some reason it still charges people in USD. But here is a bit of update:
I screwed around with the paypal.php file in the modules/payment folder. And I was looking at this:
if (!in_array(strtolower($_SESSION['languages_code']), array('en', 'us', 'it', 'fr', 'es', 'de'))) {
$lang_code = 'us';
}
if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') {
$my_currency = $_SESSION['currency'];
} else {
$my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5);
}
if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUD'))) {
$my_currency = 'USD';
I took the liberty and changed it to this:
if (!in_array(strtolower($_SESSION['languages_code']), array('en', 'us', 'it', 'fr', 'es', 'de'))) {
$lang_code = 'us';
}
if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') {
$my_currency = $_SESSION['currency'];
} else {
$my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5);
}
if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUD'))) {
$my_currency = 'SEK';
And now the payment works, they get charged the right amount cause I used a Swedish credit card to test it out, HOWEVER, I no longer get order confirmation email, and the admin panel does not even register the order and the product is not deducted...
So it's either, pay the wrong amount, but order gets registered, or pay the right amount, but inventory not deducted and order never came through.
I've already wasted $2 USD on paypal fees just testing this out... I'd rather donate money to the forums for helping me out than paying Paypal just so I can redo my futile attempts.



