Author Topic: How To Change The Currency In SimpleMemberPro  (Read 10098 times)

admin

  • Guest
How To Change The Currency In SimpleMemberPro
« on: October 31, 2014, 05:01:41 AM »
The default currency is US Dollars or USD. Not everyone may wish to use USD so here is a guide on how to change the PayPal currency.

PayPal can be used with many currencies and a full list of the codes can be found here: https://developer.paypal.com/docs/classic/api/currency_codes/

For the sake of this tutorial I will be converting form US Dollar (USD) to GB Pounds (GBP) - just substitute the GBP for which ever symbol is right for the currency you wish to use.

You will need to open the following files in a text editor (Notepad is ok but don't use any software that adds formatting such as Word):

In signup.php change the following lines of code

Line 753 - change
Code: [Select]
<input type="hidden" name="currency_code" value="USD"> to
Code: [Select]
<input type="hidden" name="currency_code" value="GBP">
Line 791 - change
Code: [Select]
<input type='hidden' name='currency_code' value='USD'> to
Code: [Select]
<input type='hidden' name='currency_code' value='GBP'>
In admin/affiliate_payment.php on line 69 change
Code: [Select]
<input type='hidden' name='currency_code' value='USD'> to
Code: [Select]
<input type='hidden' name='currency_code' value='GBP'>
In admin/paypal_mass_pay.php on line 9 change
Code: [Select]
$paypal_cur = 'USD'; to
Code: [Select]
$paypal_cur = 'GBP';
In html/paypal_subscribe.html on line 15 change
Code: [Select]
<input type="hidden" name="currency_code" value="USD"> to
Code: [Select]
<input type="hidden" name="currency_code" value="GBP">
In member/buy_points.php on line 69 change
Code: [Select]
<input type='hidden' name='currency_code' value='USD'> to
Code: [Select]
<input type='hidden' name='currency_code' value='GBP'>
In member/buynow.php change the following lines:

Line 211 change
Code: [Select]
<input type='hidden' name='currency_code' value='USD'> to
Code: [Select]
<input type='hidden' name='currency_code' value='GBP'>
Line 250 change
Code: [Select]
<input type='hidden' name='currency_code' value='USD'> to
Code: [Select]
<input type='hidden' name='currency_code' value='GBP'>
In member/oto.php change the following:

Line 248 change
Code: [Select]
<input type='hidden' name='currency_code' value='USD'> to
Code: [Select]
<input type='hidden' name='currency_code' value='GBP'>
Line 278 change
Code: [Select]
<input type='hidden' name='currency_code' value='USD'> to
Code: [Select]
<input type='hidden' name='currency_code' value='GBP'>
In member/product.php change the following:

Line 176 change
Code: [Select]
<input type="hidden" name="currency_code" value="USD"> to
Code: [Select]
<input type="hidden" name="currency_code" value="GBP">
Line 217 change
Code: [Select]
<input type="hidden" name="currency_code" value="USD"> to
Code: [Select]
<input type="hidden" name="currency_code" value="GBP">
Once these have been changed be sure to test before going live, preferably in PayPal Sandbox mode.