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 Quote 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 Quote 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 . '">'; Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/199550-paypal/#findComment-1048182 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.