#richard_20727
1 messages ยท Page 1 of 1 (latest)
That sounds like the payment method hasnt been provided, can you share an example?
hey synthrider! I couldn't agree more! the thing that's weird to me is we get the same message on other paymentIntents but they seem to go through fine later.
Is it ok if the example I share is a production account?
Yes, but please just share the payment intent or request ID
paymentIntentID pi_3O2G5NBEVXB9vy3z03Z2Uzt0
this one got the error โ๏ธ
this one right after didn't ๐
pi_3O2G5mBEVXB9vy3z0fXSqYo7
https://stripe.com/docs/js/payment_intents/confirm_payment
I was reading these docs and confirmed in my code that we're running confirmPayment:
await stripe.confirmPayment({
elements,
confirmParams: {
return_url: vaild_return_url,
receipt_email: emailAddress,
payment_method_data: {
billing_details: {
email: emailAddress
}
}
},
});
But i wonder if https://stripe.com/docs/js/payment_intents/confirm_card_payment
is what i should be doing instead
๐
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
One was confirmed and one was not
There was never a confirm request for pi_3O2G5NBEVXB9vy3z03Z2Uzt0
ok thank you,
https://stripe.com/docs/js/payment_intents/confirm_payment
I was reading these docs and confirmed in my code that we're running confirmPayment:
await stripe.confirmPayment({
elements,
confirmParams: {
return_url: vaild_return_url,
receipt_email: emailAddress,
payment_method_data: {
billing_details: {
email: emailAddress
}
}
},
});
But i wonder if I should be doing
await stripe.confirmCardPayment('{PAYMENT_INTENT_CLIENT_SECRET}', {
payment_method: {
card: cardElement,
billing_details: {
email: emailAddress,
},
},
})
https://stripe.com/docs/js/payment_intents/confirm_card_payment