#abignalet-bancontact

1 messages ยท Page 1 of 1 (latest)

little sparrow
#

๐Ÿ‘‹ happy to help

harsh sonnet
#

Hey thanks

little sparrow
harsh sonnet
#

So I need to set confirm to true as well?

#

euh you provided a setup intent documentation...

little sparrow
#

yeah my bad I read I am integrating setup intent for bancontact and didn't put 2+2 together

#

but it's the same thing with Payment Intents anw

harsh sonnet
#

My user submit the mandate with the confirmBancontactSetup and you say that I should re-ask it for each payments?

little sparrow
#

sorry i might be missing something here

#

Are you saying that there was a SetupIntent before the PaymentIntent you provided?

harsh sonnet
#

Yes

#

And no mandate generated

little sparrow
#

could you share the Setup Intent Id?

harsh sonnet
#

seti_1L2t4JCl5KTfVaEUyEpn7BC0

little sparrow
#

the mandate is null so when the Setup Intent was confirmed the mandate wasn't saved

#

there are two things here, 1st the mandate wasn't saved, 2nd you must provide the mandate id when creating a PaymentIntent with confirm=true

#

I'm trying to see why the mandate wasn't saved

harsh sonnet
#

Okay

#

when I confirmBancontactSetup I pass handleActions to false. Should I do something specifically for the mandate?

little sparrow
#

I see the issue now

#

the Setup Intent you created is on your Platform account whereas the Payment Intent you're doing it on_behalf_of your Connect Account

#

which explains why the customer has already given you his acceptance to be charged by the Platform but not by the Connect Account

#

so you should either do the SetupIntent with the on_behalf_of parameter set so the mandate would be linked to the Connect Account

#

or you need to collect a mandate for each Connect Account when it's needed

harsh sonnet
#

I cannot reuse in any way the mandate of the platform?

#

I do not see any mandate id in the setup_intent even on the platform

little sparrow
#

I cannot reuse in any way the mandate of the platform?
unfortunately no

harsh sonnet
#

I have a lot of connected accounts, it does not seem possible to ask mandate for each one

#

Are you sure that there is any other way?

little sparrow
#

Are you sure that there is any other way?
AFAIK, unfortunately there isn't

harsh sonnet
#

Why did not I have a mandate id after the setup intent on my platform?

little sparrow
#

mandate_1L2t4PCl5KTfVaEU48kvlvb9 this is the mandate id that was generated

harsh sonnet
#

How did you find it?

#

This mandate is not related to the issue...

little sparrow
#

it's related to the payment method created

harsh sonnet
#

It is the bancontact test payment method

little sparrow
#

yes

harsh sonnet
#

This mandate you linked was generated after a payment intent without on_behalf_of (a test a made)

#

I want to get the mandate from a setup intent before paying

little sparrow
#

it was generated by the setup intent seti_1L2t4JCl5KTfVaEUyEpn7BC0 but first used by a Payment Intent

harsh sonnet
#

Could you find the one related to this one seti_1L2tyvCl5KTfVaEUGcrro5rC?

little sparrow
#

mandate_1L2tz1Cl5KTfVaEU8K36Erer

harsh sonnet
#

Why did not I have access to it?

little sparrow
#

what do you mean?

harsh sonnet
#

I cannot search for it (no result) in my stripe dashboard

little sparrow
#

mandate are not shown in the dashboard

harsh sonnet
#

Why cannot I retrieve it from the setup intent?

little sparrow
#

I don't know honestly

#

I'm also a bit surprised that the Setup Intent wasn't updated

#

maybe it's expected behavior but I'm not sure

harsh sonnet
#

No problem, I will escalate to my premium support

#

thanks to have tried

little sparrow
#

thanks so much

#

and sorry

harsh sonnet
#

Just can you give me your way of finding so quick the mandate id?

little sparrow
#

from the Setup Intent you could look at the latest_attempt

harsh sonnet
#

thanks

little sparrow
#

sorry I'm not sure the mandate is exposed in the API

#

could you just give me a minute to verify