Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

language switching option #5

Closed
bibin0baby opened this issue Jun 24, 2021 · 1 comment
Closed

language switching option #5

bibin0baby opened this issue Jun 24, 2021 · 1 comment

Comments

@bibin0baby
Copy link

Can you let me know if the package has this option, or will you be adding this in future.

Thanks

@frandiox
Copy link
Owner

frandiox commented Jul 4, 2021

Hi. This is a simple wrapper around the original Stripe SDK. You can pass any option to the original constructor so I think we don't need to do anything in this library.

Maybe something like this:

useStripe({
    key: process.env.VUE_APP_STRIPE_PUBLIC_KEY || '',
    elements: [{ type: 'card', options: {} }],
    constructorOptions: { locale: 'es' },
})

@frandiox frandiox closed this as completed Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants