Last active
February 18, 2018 03:16
-
-
Save althaffe/f9acd57f4cdc8e4a4d48f5eb910c188b to your computer and use it in GitHub Desktop.
Configuration for vue-stripe-checkout element.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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