#benjamiiin-payment-request
1 messages · Page 1 of 1 (latest)
Step 2, if I comment that out I dont see the error
Can you paste your exact code here? I don't see options in our code for that doc
Assuming we are looking at the same doc: https://stripe.com/docs/stripe-js/elements/payment-request-button#html-js-create-payment-request-instance
` useEffect(() => {
if (stripe) {
const pr = stripe.paymentRequest({
country: 'GB',
currency: 'gbp',
total: {
label: 'Test test',
amount: 0,
},
requestPayerName: false,
requestPayerEmail: false,
});
pr.canMakePayment().then((result) => {
if (result) {
setPaymentRequest(pr);
}
});
}
}, [stripe]);
`
I dont see option anywhere either, as I say both apple and google will go through, I just dont see any reference to that error
Do you know which line you get it on?