AnthonyArde Posted September 23, 2009 Share Posted September 23, 2009 Hello. I have a flash project that communicates to php scripts - one of my scripts forwards information to my payment gateway - my problem is that my payment gateway only performs transactions in one currency and the currency used on my site is different to the currency of the payment gateway. is there a way i am able to pass this value just before the payment gateway is contacted and have it converted. meaning i dont require a fully fledged currency converter on my flash project, all i need is the value converted into the currency my payment gateway accepts. what im looking for is a short script that passes the value to a free converter site and returns it back to my page. does anyone know how to do this? thanks. Link to comment https://forums.phpfreaks.com/topic/175193-solved-converting-a-single-monetary-value/ Share on other sites More sharing options...
Bricktop Posted September 23, 2009 Share Posted September 23, 2009 Hi AnthonyArde, You would need to link up with the API of a currency converter site and perform your conversion that way, however this website shows a simple way of converting currency using Yahoo!'s finance site. Hope this helps. Link to comment https://forums.phpfreaks.com/topic/175193-solved-converting-a-single-monetary-value/#findComment-923379 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.