|
|
@ -1,4 +1,5 @@
|
|
|
|
import React from 'react'
|
|
|
|
import React from 'react'
|
|
|
|
|
|
|
|
import { Head } from 'next'
|
|
|
|
import { Elements, StripeProvider, CardElement, injectStripe } from 'react-stripe-elements'
|
|
|
|
import { Elements, StripeProvider, CardElement, injectStripe } from 'react-stripe-elements'
|
|
|
|
import { useAsyncCallback } from 'actionsack'
|
|
|
|
import { useAsyncCallback } from 'actionsack'
|
|
|
|
|
|
|
|
|
|
|
@ -270,6 +271,9 @@ export default function() {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<StripeProvider stripe={stripe}>
|
|
|
|
<StripeProvider stripe={stripe}>
|
|
|
|
<Elements>
|
|
|
|
<Elements>
|
|
|
|
|
|
|
|
<Head>
|
|
|
|
|
|
|
|
<script src="https://js.stripe.com/v3/" />
|
|
|
|
|
|
|
|
</Head>
|
|
|
|
<BillingWithStripe />
|
|
|
|
<BillingWithStripe />
|
|
|
|
</Elements>
|
|
|
|
</Elements>
|
|
|
|
</StripeProvider>
|
|
|
|
</StripeProvider>
|
|
|
|