File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ const elementsOptions = ref<StripeElementsOptions>({
4343 // https://stripe.com/docs/js/elements_object/create#stripe_elements-options
4444})
4545const cardOptions = ref <StripeCardElementOptions >({
46+ // https://docs.stripe.com/js/elements_object/create_element?type=card#elements_create-options
4647 style: {
4748 base: {},
4849 invalid: {},
4950 },
50- // https://stripe.com/docs/stripe.js#element-options
5151})
5252const stripeLoaded = ref (false )
5353
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default defineComponent({
4646 // https://stripe.com/docs/js/elements_object/create#stripe_elements-options
4747 })
4848 const cardOptions = ref ({
49- // https://stripe.com/docs/stripe.js#element -options
49+ // https://docs. stripe.com/js/elements_object/create_element?type=card#elements_create -options
5050 value: {
5151 postalCode: " 12345" ,
5252 },
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const elementsOptions = ref<StripeElementsOptions>({
3737 currency: " eur" ,
3838})
3939const expressCheckoutOptions = ref <StripeExpressCheckoutElementOptions >({
40- // https://stripe.com/docs/stripe.js#element -options
40+ // https://docs. stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create -options
4141})
4242const stripeLoaded = ref (false )
4343
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const elementsOptions = ref<StripeElementsOptionsMode>({
5252 },
5353})
5454const paymentElementOptions = ref <StripePaymentElementOptions >({
55- // https://stripe.com/docs/stripe.js#element -options
55+ // https://docs. stripe.com/js/elements_object/create_payment_element#payment_element_create -options
5656})
5757const stripeLoaded = ref (false )
5858const clientSecret = ref (" " )
Original file line number Diff line number Diff line change @@ -4,18 +4,18 @@ Full power of Stripe.js + beauty of Vue. Build advanced payment integrations qui
44
55## Demo
66
7- ### 1. Clone
7+ ** 1. Clone**
88``` bash
99git clone git@github.com:ectoflow/vue-stripe-js.git
1010```
1111
12- ### 2. Install
12+ ** 2. Install**
1313
1414``` bash
1515npm install
1616```
1717
18- ### 3. Run demo
18+ ** 3. Run demo**
1919``` bash
2020npm run dev
2121```
You can’t perform that action at this time.
0 commit comments