Le paiement se rend sur stripes!
This commit is contained in:
@@ -7,10 +7,10 @@ const PUBLIC_KEY = "pk_test_51M8mzOEerenEZcQIUmJIrmsaZeeNlOil2G1JcMvvO68w50MJr8r
|
||||
|
||||
const stripeTestPromise = loadStripe(PUBLIC_KEY);
|
||||
|
||||
const StripeContainer = ({cost}) => {
|
||||
const StripeContainer = ({cost, invoice}) => {
|
||||
return (
|
||||
<Elements stripe={stripeTestPromise}>
|
||||
<PaymentForm cost={cost}/>
|
||||
<PaymentForm cost={cost} invoice={invoice} />
|
||||
</Elements>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user