#Kannu
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- Kannu, 2 days ago, 26 messages
Please be patient, Discord is busy
The PaymentIntent has status: "requires_action", so it's expected that it's incomplete.
Now you need to confirm the PaymentIntent on the frontend
And you can learn more about how PaymentIntent work here: https://stripe.com/docs/payments/paymentintents/lifecycle
from where i can get PAYMENT_INTENT_CLIENT_SECRET
In the PaymentIntent obejct: https://stripe.com/docs/api/payment_intents/object?lang=node#payment_intent_object-client_secret
is there any way to bipass the confirmation of any payment from frontend.
i want to handled it backend only.
i don't want to involve Frontend developers.
Not possible, if the bank request 3DS, then it has to be done by the customer on the frontend.
can i make it other request rather than bank 3ds
const {paymentIntent, error} = await stripe.confirmCardPayment(
"pi_3OESDuSHA3j9qB7X1R07Cftr_secret_NBxIZxL3VvT7AXQxYfq7dlb2K",
);
GETTING THIS
@tropic coral
No, you need to call confirmCardPayment on the frontend, not on the backend
And this is how you include Stripe.js on the frontend: https://stripe.com/docs/js/including
I don't understand your question
when confirmcardpayment method will call on frontend
What's the question?
Not possible, if the bank request 3DS, then it has to be done by the customer on the frontend.
Kannu — Today at 16:35
can i make it other request rather than bank 3ds?
I don't understand sorry. If you have a PaymentIntent with status: requires_action, then you have to ask the user to come back to your website/app and then call confirmCardPayment on the frontend so they can start the 3DS flow. If you don't do this, the PaymentIntent will stay incomplete.