Open Sabe67 opened 6 years ago
Hello,
I have a problem with the local prop. When I try to change it when the hook updated is called nothing happend. I try the same thing with the amount prop and it's work.
Their is my paypal button :
<PayPal :amount="total" currency="EUR" :locale="paypalLocale" :client="credentials" :button-style="paypalStyle" env="sandbox" v-on:payment-completed="paymentCompleted"> </PayPal>
My data :
data () { return { paypalLocale: '' } }
And my updated hook :
updated: function(){ if(this.$store.state.lang == "fr"){ this.paypalLocale = "fr_FR" } else { this.paypalLocale = "en_US" } },
Thank you for your help and sorry for my english :)
Hey @Sabe67,
Thanks for reporting this. I'll need to look into this.
Hi @khoanguyen96,
Do you think you will work on this soon ?
Hello,
I have a problem with the local prop. When I try to change it when the hook updated is called nothing happend. I try the same thing with the amount prop and it's work.
Their is my paypal button :
My data :
And my updated hook :
Thank you for your help and sorry for my english :)