How Do I Add Multiple Currencies?

Download and support for PhpBB3 Paypal Donation Mod
Locked
John45
BBCoder I
BBCoder I
Posts: 4
Joined: 02 Jan 2015, 19:35
BBCodes: 8

How Do I Add Multiple Currencies?

Post by John45 »

Is there a way to add another currency instead of the default. I think there is, I've taken a look at the donation_body.html, but can anyone help me change it to proper code, so I don't screw something up.

Thanks :D
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: How Do I Add Multiple Currencies?

Post by Stoker »

These are the lines in donate_body.html that displays the choice of currency. The first line is the default currency:

Code: Select all

<option value="USD" selected="selected">{L_DONATION_USD}</option>
		<option value="EUR">{L_DONATION_EUR}</option>
		<option value="GBP">{L_DONATION_GBP}</option>
		<option value="JPY">{L_DONATION_JPY}</option>
		<option value="AUD">{L_DONATION_AUD}</option>
		<option value="CAD">{L_DONATION_CAD}</option>
		<option value="HKD">{L_DONATION_HKD}</option>
Board rules! No PM support
John45
BBCoder I
BBCoder I
Posts: 4
Joined: 02 Jan 2015, 19:35
BBCodes: 8

Re: How Do I Add Multiple Currencies?

Post by John45 »

Stoker wrote:These are the lines in donate_body.html that displays the choice of currency. The first line is the default currency:

Code: Select all

<option value="USD" selected="selected">{L_DONATION_USD}</option>
		<option value="EUR">{L_DONATION_EUR}</option>
		<option value="GBP">{L_DONATION_GBP}</option>
		<option value="JPY">{L_DONATION_JPY}</option>
		<option value="AUD">{L_DONATION_AUD}</option>
		<option value="CAD">{L_DONATION_CAD}</option>
		<option value="HKD">{L_DONATION_HKD}</option>
So, for example I could add a line like this:

Code: Select all

<option value="TAKA">{L_DONATION_TAKA}</option>
And, it would work fine?

You got it all wrong, I want to add another currency e.g. Mexican Peso. -.-
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: How Do I Add Multiple Currencies?

Post by Stoker »

Yes, if TAKA is the correct currency code and if you add {L_DONATION_TAKA} to the included language file.
You can see more about currency codes at the paypal developer site.
Board rules! No PM support
John45
BBCoder I
BBCoder I
Posts: 4
Joined: 02 Jan 2015, 19:35
BBCodes: 8

Re: How Do I Add Multiple Currencies?

Post by John45 »

Stoker wrote:Yes, if TAKA is the correct currency code and if you add {L_DONATION_TAKA} to the included language file.
You can see more about currency codes at the paypal developer site.
Works! Thanks. :D
Locked