|
Welcome,
Guest
|
|
|
I see that your simple sales there are choices of currency but the sales altimately occur in Kenya shillings, do you have a shortcodes we could use to change US$ to Ksh, we are offering PesaPal as an alternative to PayPal but the base currency is US$, when clients switch to PesaPal from the default PayPal, it switches the currency sign but retains the numerical value! Say $100 becomes Ksh100, not good!
We could use an external currency exchange plugin but would prefer to use a PesaPal short-code, that way the exchange matches the prevailing PesaPal rates. A currency US$ conversion to Ksh. Or an exchange rate callcode that reads the days exchange rate from PesaPal will do just fine |
|
Last Edit: 12 years, 4 months ago by afrwood. Reason: Exchange Rate Callcode
The following user(s) said Thank You: Edwin_php
|
|
No one replied to this.Anyway most shopping carts have a plugin in built for this. You can do the same thing too.Just add an iframe that does conversions after totals if the currency is different than yours before you charge. I am sure that there are lots of sites that do this but i can help too.
|
|
The following user(s) said Thank You: afrwood
|
|
And it is USD to KSH
|
|
|
|
Edwin_php wrote:
No one replied to this.Anyway most shopping carts have a plugin in built for this. You can do the same thing too.Just add an iframe that does conversions after totals if the currency is different than yours before you charge. I am sure that there are lots of sites that do this but i can help too. Thanks @Edwin_php we used a java script to get the exchange rates from a web service, slow but steadily! We interchange PayPal and PesaPal as gateways on our crowdfunding portal so we needed USD to KES |
|
|
|
Hi afrwood,
PesaPal has provided a way in which you can specify the currency. See below: $post_xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?> <PesapalDirectOrderInfo xmlns:xsi=\"www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"www.w3.org/2001/XMLSchema\" Currency=\"".$currency."\" Amount=\"".$amount."\" Description=\"".$desc."\" Type=\"".$type."\" Reference=\"".$reference."\" FirstName=\"".$first_name."\" LastName=\"".$last_name."\" Email=\"".$email."\" PhoneNumber=\"".$phonenumber."\" xmlns=\"www.pesapal.com\" />"; The curreny code you use should be the standard ISO code. Check the codes here en.wikipedia.org/wiki/ISO_4217 |
|
Regards,
Lazaro Ong'ele Web Developer Skype: Lazrotep +254-020-249-5438 ; +254-706-191-729 Dagoretti Lane, Off Naivasha Road. Facebook: www.facebook.com/pesapal Twitter: twitter.com/PesaPal Helpdesk: support.pesapal.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it. |
|