I have implemented stripe payment using stripe popup but before open this popup we need to set data-currency based on customer selection of currency suppose "USD" OR "EUR".
I tried with this code :
$('#custom_currency').change(function() {
$('.stripe-button').data('currency', $(this).val());
});
I checked in console and data-currency value change but in stripe popup always display the $.
Right now i select Euro(EUR) but always display $. (http://prntscr.com/kisgdt)
Would you please let me know what is the issue.
Thanks in advance.