#hana ito
1 messages · Page 1 of 1 (latest)
But, I am unable to complete the payment.
Which step goes wrong specifically?
What's the problem and error?
Even if you press the send button, it will not go to the payment completion screen, and the payment has not been completed.
Is there any error message in the console? From the code, you tried to confirmPayment with cardElement instead of paymentElement
It doesn't look right to me
this part?
stripe.confirmPayment(clientSecret, {
payment_method: {
card: cardElement,
billing_details: {
name: nameInput.value,
},
},
How should
card: cardElement,
be fixed specifically?
You can follow the guide here: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-submit-payment
ok.I'll try.
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.