#dennis_de
1 messages · Page 1 of 1 (latest)
Hi what's your question? Let's chat in here
Okay, no problem. Thought only so you have directly the course evident.
I am not sure if I am choosing the right path. I have now looked at the "setup_intent.succeeded" webhook payload and if I have understood it correctly, I can only go via "latest_attempt" to get to the payment method of the SEPA Debit. Or?
There's a payment method param on the setupintent object: https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
However, when I go to the Setup Intent, I don't get the information about the recurring Payment Method object.
But then I get back the "unique" object for "sofort" (as an example).
However, the payment method that is generated for recurring, I do not get back with it.
This is for a subscription? Why are you using a setupintent?
To create off sessions, we do the same with credit card, etc. We first collect only the payment method and then charge it later.
Our payments are recurring, we want to offer the user to complete the SEPA mandate via sofort even if "sofort" triggers a SEPA Debit. This increases the conversion.
So yeah latest_attempt is the only way to do this
We create the payment method via stripe.js, so we create the setup intent and then we charge it later.
latest attempt is only one ID. Then again one more API query?
I don't get a whole object already with the information. So I have to get the Setup Attempts first?
Did you click the link I shared
You need to expand latest_attempt
There's a code snippet showing you how
Ahhh. Thank you very much.
No problem
I'm on the road right now. I'll look at it again later. Then I test that whether that works so. Thanks a lot already!