#ebellotpu6

1 messages ยท Page 1 of 1 (latest)

pale citrusBOT
balmy cairn
#

Hi ๐Ÿ‘‹ so to confirm, you're performing the Setup Intent confirmation from your server-side code?

quick furnace
#

yes

#

but as I have said, after creating the paymentmethod and attaching a customer_id to it, I am getting 'Missing required param: mandate_data.' when I try to confirmSetupIntent

balmy cairn
quick furnace
#

and how I can get this hash?

balmy cairn
#

You need to provide it.

#

If you're doing server-side confirmation, then you need your own custom flow for collecting permission from your customers to run those transactions. You then provide the details of how you got that permission to us, via the mandate_data hash, when confirming the related intent.

quick furnace
#

so, for example I have to provide the ip and the browser agent?

balmy cairn
quick furnace
#

yes, but this works with stripe elements

#

and I can't get the iban number with them...

balmy cairn
#

Why do you need direct access to the iban?

If that is a necessity for your flow, then you will need to continue down your current integration path and will need to add mandate collection to your flow.

quick furnace
#

because the clients will pay through subscriptions and If one day, the business decides to migrate out of stripe, they will need to get the iban numbers to maintain the subscription

balmy cairn
#

Okay, you will need to collect mandate acceptance from your customers then, and you will need to provide details of that acceptance to us.

quick furnace
#

and with source it would be possible?

balmy cairn
#

I don't understand the question

quick furnace
balmy cairn
#

Is this a new integration you're building? If so I would not recommend this flow, as suggested by the warning at the top of the documentation about this approach being considered deprecated.

quick furnace
#

yes, it is new

balmy cairn
#

Then I would not recommend using the Sources flow.