#dennis_de

1 messages · Page 1 of 1 (latest)

quartz fogBOT
cinder swallow
#

Hi what's your question? Let's chat in here

soft summit
#

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?

cinder swallow
soft summit
#

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.

cinder swallow
#

This is for a subscription? Why are you using a setupintent?

soft summit
#

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.

cinder swallow
#

So yeah latest_attempt is the only way to do this

soft summit
#

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?

cinder swallow
#

Did you click the link I shared

#

You need to expand latest_attempt

#

There's a code snippet showing you how

soft summit
#

Ahhh. Thank you very much.

cinder swallow
#

No problem

soft summit
#

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!