cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple currencies support in paypal smart Button

gautamkr1876
New Community Member

Multiple currencies support in paypal smart Button

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 🙂