Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Change the currency?

Change the currency? 16 years 6 months ago #1400

  • kjetil
  • kjetil's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi everybody,
Is it possible to change the default currency for dtDonate?

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

Change the currency? 16 years 6 months ago #1427

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Currently, our DT Donate doesn\'t have a currency selection function yet. We will add this feature in the next release. I assume that you want to change default currency for paypal donations. To do this, please follow these instructions:

+ Open the file paypal.class.php, find the function paypal_class() , add this line into the body of the function :
$this->add_field(\'currency_code\',\'your_currency_code\');

\"your_currency_code\" should be replaced with the code for your currency, such as EUR for example.

+ Open the file paypal_r.class.php, find the function paypal_recurring_class() and add this line into the body of the function:
$this->add_field(\'currency_code\',\'your_currency_code\');

There\'s a temporary fix for you until we implement this. Thanks.

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

Change the currency? 16 years 6 months ago #1428

  • kjetil
  • kjetil's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thank you for answering. I\'ve edited the code - it\'s working fine now :)

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

Change the currency? 16 years 3 months ago #2116

  • omojesu
  • omojesu's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
This does not seem to work for me. I made the changes as shown but when I go to paypal site, I am still seeing dollar sign. Our default currency is GBP (UK currency).

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

Change the currency? 16 years 3 months ago #2121

  • omojesu
  • omojesu's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
OK, it was a file permission error on my server that did not update the changes. However, how do I change the currency symbol on the DT donate page. That is still showing $ even though PayPal page is showing GBP.

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

Change the currency? 16 years 2 months ago #2400

  • mather
  • mather's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
is there a fix for this? (the dollar sign showing up instead of the pound sign as below)

its look really unprofessional with the dollar sign when i only take payments in GBP

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

  • Page:
  • 1
Time to create page: 0.150 seconds