#Mint-prb
1 messages · Page 1 of 1 (latest)
This one
I'm working with React
like it says, the variable you pass should be like this
const pr = stripe.paymentRequest({
country: 'US',
currency: 'usd',
total: {
label: 'Demo total',
amount: 1099,
},
requestPayerName: true,
requestPayerEmail: true,
});
....
....
PaymentRequestButtonElement options={{pr}}/
got this object paymentRequest = { applePay : true , googlePay: false
that's the response fromcanMakePayment, which is not what you pass to the component.
Oh my god. My mistake