cocoastorm / vue-paypal-checkout

A simple Vue.js wrapper component for paypal-checkout
MIT License
153 stars 66 forks source link

Warning on locale prop ? #16

Closed ghost closed 6 years ago

ghost commented 6 years ago

According to your doc for local prop, I used:

`<PayPal v-show="displayPaypalButtons" :buttonStyle="aStyle" locale="fr_FR" :client="credentials" amount="10.00" currency="EUR" env="sandbox" :invoice-number="invoiceNumber"></PayPal>

It workd ...but I get a . warning message

`Invalid prop: type check failed for prop "locale". Expected Object, got String.
cocoastorm commented 6 years ago

Hey @erwin16,

That seems odd. Is there a way you can reproduce this somehow via a JSFiddle or something similar.

Thanks.

EDIT: I was able to get the same warning, I'm looking into it now

cocoastorm commented 6 years ago

Hey @erwin16,

Thanks for the warning report! It's fixed now in the latest release. Regardless, it was just a warning! I'm glad the locale works for you now :+1: