#mattwoberts
1 messages ยท Page 1 of 1 (latest)
Hi there ๐
So I have this event evt_0MUqfAEHSdXPilfDcBPx1AYs
It's a bacs PM being added.
Now, our code listens for a web event of customer checkout session completed, and then checks then if a DD has been added as a payment method. But in this case it looks like no checkout session completed event fired at all.
I'm assuming this could just be something like the user adding the DD mandate details and then closing down the page?
So my question is, are we better off listening out for another event (e.g. the payment_method.attached one) and then doing the check to see if there's a DD payment method then, so that we don't miss this?
Hello ๐
It is possible that they closed the page before completing the checkout session yes.
Yeah ideally you'd listen to *.attached events in order to identify if a payment method was added/attached to the customer
Ok thanks, I'll do that too just in case, thanks for the clarification
NP! ๐