#itachi1987_code

1 messages ยท Page 1 of 1 (latest)

manic thistleBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1501154037188399194

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

fair cove
#

hi there!

grizzled snow
#

Hi soma, hope you can help us fix our problem ๐Ÿ™‚

#

In a previous chat (some days ago) someone wrote us the following:
Looks like you're already looking at the correct guide! You have "Checkout" selected but this also works with "Elements": Save SEPA Direct Debit details for future payments

The steps you'll want to follow are:

Create a Customer to save the name

Create a SetupIntent for the Customer with payment_method_types: ["sepa_debit"] (server-side)

Collect the IBAN (client-side) which we have an element for https://docs.stripe.com/js/react_stripe_js/elements/other/iban_element

Generate your SEPA mandate doc and collect a signature

Confirm the SetupIntent with mandate_data.customer_acceptance.type: "offline" (server-side) Confirm a SetupIntent | Stripe API Reference

fair cove
grizzled snow
#

exactly

#

cause we generate a mandate document which the customer will fill and sign in docusign, after that we will confirm the mandate

#

just to explain the time sequence:

  1. customer fills the data and the iban
  2. asynchronously we will generate the mandate document and let him sign in docusign
  3. after the docusign callback we will confirm the SEPA payment method server side
fair cove
#

the chat you shared above, was it on Discord or somewher else? also the link it contains doesn't seem to work.

grizzled snow
#

discord

fair cove
grizzled snow
fair cove
#

got it. I'm not really familiar with this flow, give me a few minutes to look into it.

#

in the other Discord thread, we suggest you a 5 step process. have you tried the 5 steps? if so, can you clarify which if the 5 step is causing your issues?

grizzled snow
#

in this step, which method should we call in StripeJS to save the iban element without create the effective SEPA direct debit?

manic thistleBOT
hushed timber
#

๐Ÿ‘‹ Hey, taking over here, just taking a look

grizzled snow
#

ok, so after that i should Confirm the SetupIntent with mandate_data.customer_acceptance.type: "offline" (server-side) Confirm a SetupIntent | Stripe API Reference right?

hushed timber
#

Exactly, yes

grizzled snow
#

or we should just store the iban there?

hushed timber
#

Yes, you should store the email and name in that billing_details dictionary

grizzled snow
#

i give it a try right now, can we leave this channel open for some minutes?