Developer forum

Forum » Ecommerce - Standard features » Payment fee currency

Payment fee currency

Gaëtan Di Caro
Reply

Hi,

On my B2B shop, customers have a single currency defined for them to shop in, either € or DKK. They should have a different fixed payment fee depending on which currency they have, for example 100DKK, or 14€.

However, in the payment method fee matrix, I cannot select a currency, only an amount. It seems that it takes the shop's default currency and converts it to the customer currency. Since 100DKK != 14€, I don't get the right amount.

I have tried to create two payment methods, one for Denmark with an amount of 100 and one for the rest of the countries, with an amount of 14, but I still have the same issue. Removing the default country and currency on the website's ecom settings doesn't do anything either. I've tried to manually fill the FeeCurrencyCode column in the EcomFees table, no luck.

 

How can I do that ?


Replies

 
Gaëtan Di Caro
Reply

Any idea ?

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Gaetan,

 

Did you try to force the CurrencyCode to be EUR on that session? For example, open the browser and then add CurrencyCode=EUR do the URL. That should set the session's currency code to EUR. Maybe that's enough to trigger the payment method that's then associated with the proper country.

 

I have no idea if it works, but I guess you are willing to try anything at this point :)

 

Best Regards,

Nuno Aguiar

 
Gaëtan Di Caro
Reply

Thanks Nuno,

 

I tried but no success :(

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

That's too bad. I'll have to leave it to people that are smarter than me to help you out.

 
Gaëtan Di Caro
Reply

I have found a workaround : I have 2 payment methods, one for Denmark, with a fee of 100 and one for the rest of the world, with a fee of 14.

I then set the change rate of euro to 100 instead of 750 (i.e no conversion), so that when I arrive in the basket, this is the exact amount. Obviously I can only do that because there is no conversion on my product prices (prices are defined in both EUR and DKK), so this doesn't affect anything.

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Great :)

 

You must be logged in to post in the forum