Created
June 19, 2020 14:57
-
-
Save SimonHoiberg/90b0f853b93c0251e1b8619effbb9daa to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const stripePromise = loadStripe(process.env.REACT_APP_STRIPE_KEY || ''); | |
const Upgrade = () => { | |
return ( | |
<div> | |
<h1>Upgrade now</h1> | |
<Elements stripe={stripePromise}> | |
<CheckoutForm /> | |
</Elements> | |
</div> | |
); | |
}; | |
const CheckoutForm = () => { | |
// Not implemented yet | |
}; | |
export default Upgrade; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment