Help With PHP PayPal Coding for GBP

Hi,

I can not figure out what to put into this string so it will show GBP.

$redirect = 'https://www.paypal.com/xclick/?business=' . $ppemailaddr . '&item_name=' . $itemname . '&item_number=1&invoice=' . $orderid . '&amount=' . $total . '&no_shipping=1&return=' . $siteurl . '%2Fdeposit_paypal.php%3Foid=' . $orderid;

The currency tag is $currency

But no matter what I do I either get USD or an error.

Tom

I know in form format to change the currancy its lc=GBP

I have to add the coding into the script.

[php]

$redirect = ‘https://www.paypal.com/xclick/?business=’ . $ppemailaddr . ‘&item_name=’ . $itemname . ‘&item_number=1&invoice=’ . $orderid . ‘&lc=GBP&amount=’ . $total . ‘&no_shipping=1&return=’ . $siteurl . ‘%2Fdeposit_paypal.php%3Foid=’ . $orderid;

[/php]

may wotk but then may not

Thanks but it didn’t work.

Tom

Sponsor our Newsletter | Privacy Policy | Terms of Service