HTML Experts, please help!?

Luke J

New member
Hi guys,

Hoping someone can help me. I'm using ejunkie to add a shopping cart to a clients website. All is fine, all way through to getting through to paypal to make payment.

When the customer views the cost on paypal, the currency is coming up as US dollars, and not British sterling, as I would like it to. Now I've looked at this part of code which I presume I should be altering.

<!-- currency (USD for Google Checkout USA, GBP for Google Checkout UK. For PayPal: any currency that PayPal supports -->
<input type="hidden" name="currency_code" value="USD"/>

I thought that by changing the value "USD" to "GBP" would solve this, but as soon as I do that and try to use Paypal as payment method, I get the following error:

Cart Error: aeb01dce4c4cd877c53ad54144245f66 Validation Failed
Does anybody have any idea what I'm missing?

The full code is below the line.

==================================================================

<!-- ADD TO CART button code. -->
<form action="https://www.e-junkie.com/ecom/fgb.php?c=cart&cl=1&ejc=2" target="ej_ejc" method="POST">

<!-- paypal email(remove if not using PayPal) -->
<input type="hidden" name="business" value="your_paypal_email"/>

<!-- google merchant id (remove if not using Google Checkout) -->
<input type="hidden" name="merchant_id" value="your_google_merchant_id"/>


<!-- site url -->
<input type="hidden" name="site_url" value="http://yoursite.com"/>

<!-- contact email (where we can notify of the updates) -->
<input type="hidden" name="contact_email" value="[email protected]"/>

<!-- item name -->
<input type="hidden" name="item_name" value="Test Item"/>


<!-- item number (should be different for each product)-->
<input type="hidden" name="item_number" value="1"/>


<!-- item price -->
<input type="hidden" name="amount" value="5.00"/>

<!-- initial quantity -->
<input type="hidden" name="quantity" value="1"/>

<!-- item options (can be removed if not required) -->
<input type="hidden" name="on0" value="Size"/>
<select name="os0" >
<option value="One Size">One Size</option>
</select>
<input type="hidden" name="on1" value="Color"/>
<select name="os1" >
<option value="One Colour">One Colour</option>
</select>
<input type="hidden" name="on2" value="Message"/>
<input name="os2" type="text" value="Artist Bear"/>

<!-- shipping cost -->
<input type="hidden" name="shipping" value="1">

<!-- shipping cost of each additional unit -->
<input type="hidden" name="shipping2" value="0.5">


<!--handling cost -->
<input type="hidden" name="handling" value="0.5">

<!-- tax (flat amount, NOT percentage)-->
<input type="hidden" name="tax" value="0.50"/>

<!-- following options are applicable to whole cart-->

<!-- you thank you page -->
<input type="hidden" name="return_url" value="http://www.e-junkie.com/"/>

<!-- any custom info you want to pass for the whole order -->
<input type="hidden" name="custom" value="anything"/>

<!-- currency (USD for Google Checkout USA, GBP for Google Checkout UK. For PayPal: any currency that PayPal supports -->
<input type="hidden" name="currency_code" value="USD"/>

<input type="image" src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" onClick="javascript:return EJEJC_lc(this.parentNode);">
</form>
 
Back
Top