Multiple currencies support in paypal smart Button

gautamkr1876
New Community Member

Hi PayPal Team,

I'm writing to seek your expertise because I`m trying to integrate Smart Paypal Button on my website.


I'm trying to support multiple currencies on my websites like AED and USD. Users can choose currencies by clicking on their respective radio button. On the first load, I am selecting the default AED currency and load PayPal SDK and with Currency parameters (as AED)  then render PayPal Smart Button. If users click on USD we load PayPal SDK and with Currency parameter (as USD) then render PayPal Smart Button again.


like For AED :- <script src="https://www.paypal.com/sdk/js?client-id=XXX&currency=AED" ></script>
For USD :- <script src="https://www.paypal.com/sdk/js?client-id=XXX&currency=USD" ></script>

The console throwing error Uncaught Error: Zoid destroyed all components on every switch of a radio button.
Any tip or suggestion is appreciated, thank you 🙂

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.