Hi again,
I'm glad to see you fixed some of bugs since we last spoke.
But I have one more for you to squeeze.
So here is scenario:
1. POST /v1/payment_intents 200 OK
- PaymentIntent status: requires_confirmation
2. WEBHOOK payment_intent.created - NOT SENT AS PER CONFIG
3. POST /v1/payment_intents/pi_1IkAv.../confirm 200 OK
- PaymentIntent status: requires_action
4. WEBHOOK payment_intent.requires_action - NOT SENT AS PER CONFIG
5. POST /v1/payment_intents/pi_1IkA.../confirm 200 OK
- PaymentIntent status: succeeded
- 3D Secure succeeded
6. WEBHOOK charge.succeeded - NOT SENT AS PER CONFIG
7. WEBHOOK payment_intent.succeeded - SENT, BUT FAILS
So payment_intent.succeeded webhook fails, because it nopcommerce does not have order by order guid specified in webhook. So the there is no order, but money is charged.
Im not sure what workflow you have in your plugin setup, at which point do you create order? Because in my case order is not created, but money is charged.
Regards, Dmitri
Customer