#dennis-sofort-sepadebit

1 messages · Page 1 of 1 (latest)

pine forgeBOT
fluid lark
#

dennis-sofort-sepadebit

thick thorn
#

Is this also given in the webhook payload?

fluid lark
#

yes

thick thorn
#

❤️

#

Okay, that's easier than I thought. The recurring payment method is then no longer "Sofort" as type but Sepa Debit - correct?

#

So also in the interface at stripe within a customer?

fluid lark
#

yes that's why you get 2 separate pm_123 ids because they are completely different objects/payment instruments

thick thorn
#

Is then still recognizable that this is inherited out of the payment means "sofort"?

fluid lark
thick thorn
#

The webhook type "payment_intent.succeeded" is just as suitable for this - right?

fluid lark
#

That one won't have the full Charge or PaymentMethod object. You can start from that Event but then you need to make extra API requests to link things together

thick thorn
#

Which one would be more suitable?

#

I just want to react best when the payment method is added in the frontend.

#

Stripe.JS

fluid lark
#

That's a good one, just you have to write more code after that Event to get to the answer really and that's what I'd recommend

thick thorn
#

Okay, I see. All right, then we build another listener in between that queries the API. Thank you.

fluid lark
#

sure!