Skip to main content

Display another currency

More
11 years 6 months ago #194722 by jymm221
Replied by jymm221 on topic Display another currency
Hi,
Thank you. Yes i want the currency xof to be displayed everywhere including checking work Flow. But PayPal accept euro. So total amount sent to PayPal should be euro. Do you see my point ?

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #194802 by nicolas
Replied by nicolas on topic Display another currency
Hi,

There is no option to do that in HikaShop.
You would have to configure the main currency as XOF and then customize the code of the PayPal plugin in order to convert the total amount of the cart before sending it to PayPal. You can customize that in the file plugins/hikahsoppayment/paypal/paypal.php

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #194836 by jymm221
Replied by jymm221 on topic Display another currency
Ok, I think I've done it. But now, paypal payment method is not displayed. I guess it's because my main currency is XOF.
What should I do in order to make it displayed?

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #194848 by nicolas
Replied by nicolas on topic Display another currency
Hi,

In the same file of the PayPal plugin, you need to add your XOF currency as a supported currency:
Code:
var $accepted_currencies = array( 'AUD','BRL','CAD','EUR','GBP','JPY','USD','NZD','CHF','HKD','SGD','SEK', 'DKK','PLN','NOK','HUF','CZK','MXN','MYR','PHP','TWD','THB','ILS','TRY', 'RUB' );
The following user(s) said Thank You: jymm221

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #194863 by jymm221
Replied by jymm221 on topic Display another currency
Thank you

Please Log in or Create an account to join the conversation.

Time to create page: 0.180 seconds
Powered by Kunena Forum