#User1 - payment intents
1 messages · Page 1 of 1 (latest)
1)when we trying to get the payment_intent status which one is recommended
2) all type of payment_intent status can we use single webhook endpoint
Well the webhooks fire as the result of an event. So a change in payment intent
They are specific to those changes
If you just want to know all statuses of all payment intents you could listen to all events and just save the payment_intent object provided.
The webhook endpoint can be the same and just listen for all Payment Intent events
and when i am using stripe js can i use retrieve_payment_intent method to get the status or can we use webhooks which one is best and recommended?
You can retrieve a payment intent on your server as well. what are you trying to accomplish here?
Like, overall what is the user experience you want to offer and how is your application designed?
actaully my application is like online order application. so i need whenever the payment succeeded then only i am completes the order