Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Configuration for vue-stripe-checkout element.
import Vue from 'vue';
import VueStripeCheckout from 'vue-stripe-checkout';
const options = {
key: process.env.STRIPE_PUBLIC_KEY,
image: 'https://cosmicjs.com/images/logo.svg',
locale: 'auto',
currency: 'USD',
billingAddress: true,
panelLabel: 'Pay {{amount}}'
}
Vue.use(VueStripeCheckout, options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.