#mattdotmatt
1 messages · Page 1 of 1 (latest)
Hello 👋
Not sure if you're asking about the delay in the charge or the event for payment method getting attached?
the event for payment method getting attached
Gotcha. Do you have the event ID handy by chance?
evt_0MehFXEHSdXPilfDZLNl62pA
Thanks, looking
I've asked a colleague and it appears that we might not attach the PM until the mandate is confirmed, since the payment method can’t be used until then anyways.
the timing roughly matches the standard timing documented for that part of the flow in the bacs docs:
https://stripe.com/docs/payments/payment-methods/bacs-debit#timing
You mentioned you've not seen this happen for other checkouts.
Can you share example Checkouts with bacs DD where the event was generated without delay?
yeah, ill find one for you. Are there events that we can listen to to reliably know when a card or DD has been created
cs_live_c1b6DTESKEmJEEHfgvhInqFD3EnU0572SsiGDftHv6cMlDaCOMi9oqhPWt is the checkout session and this happened at the same time evt_0MZXpfEHSdXPilfDU0DbeW4h
thanks, looking..
Looks like these are two separate usecases
the first example is a subscription mode session and the mandate + first payment were happening together
and the second example is a setup mode Checkout so there is no initial payment, and I suppose the mandate is being submitted immediately
thanks, ill check that out. can you suggest an event/events that will always fire at the point a card or DD is first setup? we were using checkout session but I believe we had an issue where it didnt fire once and someone suggest payment attached
I believe payment method attached is still the right one to listen to as the PaymentMethod wouldn't really be useful until the mandate has been confirmed
thanks, from our side we've written things to assume the DD will work and sort things out later if it doesnt so we're looking for an event or events to listen on when the customer has first added a card or initiated the DD. can you think of anything that would be raised at that time?
there is customer.source.created event
https://stripe.com/docs/api/events/types#event_types-customer.source.created
thanks hanzo, ill look into it. thanks for your help