#raju_97566
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
Are you listening to setup_intent.succeeded webhook events?
You shouldn't perform any business logic using the return url, what if the customer closes the browser?
Please use the webhook handler for this: https://stripe.com/docs/webhooks
Okay, I will implement webhooks.
please, also provide how to get paymentMethodId from setupIntent
You will receive the setup_intent.succeeded event which will contain the SetupIntent object. In it you will see the payment_method ID.