Display another currency

  • Posts: 28
  • Thank you received: 0
10 years 6 months ago #194722

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.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 5 months ago #194802

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.

  • Posts: 28
  • Thank you received: 0
10 years 5 months ago #194836

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.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 5 months ago #194848

Hi,

In the same file of the PayPal plugin, you need to add your XOF currency as a supported currency:

	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.

  • Posts: 28
  • Thank you received: 0
10 years 5 months ago #194863

Thank you

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

Time to create page: 0.064 seconds
Powered by Kunena Forum