jay_bo Posted April 23, 2010 Share Posted April 23, 2010 Hey, I have managed to link my shopping cart to paypal...However i can't get the paypal page to display in UK sterling instead of US dollars...Ive searched the paypal website and documentation and i have added echo '<input type="hidden" name="currency_code" value="{$currency_iso_GBP}">'; And it still doesn't work, any ideas? Thanks Link to comment https://forums.phpfreaks.com/topic/199550-paypal/ Share on other sites More sharing options...
JAY6390 Posted April 23, 2010 Share Posted April 23, 2010 Try with {$currency_iso_GBP} as just GBP Link to comment https://forums.phpfreaks.com/topic/199550-paypal/#findComment-1047401 Share on other sites More sharing options...
Alex Posted April 24, 2010 Share Posted April 24, 2010 Single quotes don't have variable interpolation. echo '<input type="hidden" name="currency_code" value="' . $currency_iso_GBP . '">'; Link to comment https://forums.phpfreaks.com/topic/199550-paypal/#findComment-1047484 Share on other sites More sharing options...
jay_bo Posted April 25, 2010 Author Share Posted April 25, 2010 Try with {$currency_iso_GBP} as just GBP Nice one, it worked Many thanks Link to comment https://forums.phpfreaks.com/topic/199550-paypal/#findComment-1048182 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.