Powlo
03-28-2009, 09:51 PM
Im trying to create a multi-currency donation page withe several colums each having there own curreny deno,ination within them.
The problem i am having is how could i use several currencies within one form?
Here is a snippet of one of the ways i have tried..
<tr>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<td class="alt2">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="donate@mysite.com" />
<input type="hidden" name="item_name" value="Donation to mysite.com">
<input type="hidden" name="currency_code" value="EUR">
<br />
<input type="radio" name="amount" value="35.00" />
Price Option 1 $35.00
<br />
<input type="radio" name="amount" value="55.00" />
Price Option 2 $55.00
<br />
<input type="radio" name="amount" value="75.00" />
Price Option 3 $75.00
<br/>
<input type="submit" value="Click to Donate">
</td>
<td class="alt2">
<input type="hidden" name="currency_code" value="GBP">
<br />
<input type="radio" name="amount" value="35.00" />
Price Option 1 ?35.00
<br />
<input type="radio" name="amount" value="55.00" />
Price Option 2 ?55.00
<br />
<input type="radio" name="amount" value="75.00" />
Price Option 3 ?75.00
<br/>
<input type="submit" value="Click to Donate">
</td>
</form>
This worked in the sense that it functioned correctly but it failed to notice the '<input type="hidden" name="currency_code" value="GBP">' and use the first currency_code EUR
Any help here would really be appreciated as ive been on with this for ages.
The problem i am having is how could i use several currencies within one form?
Here is a snippet of one of the ways i have tried..
<tr>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<td class="alt2">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="donate@mysite.com" />
<input type="hidden" name="item_name" value="Donation to mysite.com">
<input type="hidden" name="currency_code" value="EUR">
<br />
<input type="radio" name="amount" value="35.00" />
Price Option 1 $35.00
<br />
<input type="radio" name="amount" value="55.00" />
Price Option 2 $55.00
<br />
<input type="radio" name="amount" value="75.00" />
Price Option 3 $75.00
<br/>
<input type="submit" value="Click to Donate">
</td>
<td class="alt2">
<input type="hidden" name="currency_code" value="GBP">
<br />
<input type="radio" name="amount" value="35.00" />
Price Option 1 ?35.00
<br />
<input type="radio" name="amount" value="55.00" />
Price Option 2 ?55.00
<br />
<input type="radio" name="amount" value="75.00" />
Price Option 3 ?75.00
<br/>
<input type="submit" value="Click to Donate">
</td>
</form>
This worked in the sense that it functioned correctly but it failed to notice the '<input type="hidden" name="currency_code" value="GBP">' and use the first currency_code EUR
Any help here would really be appreciated as ive been on with this for ages.