#notorious-dan-_api

1 messages ยท Page 1 of 1 (latest)

fluid berryBOT
#

๐Ÿ‘‹ 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/1318534676016791596

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

simple bluff
#

Hmm, that request was made via the Dashboard?

trail urchin
#

Oh sorry this request is from the dashboard

#

Is there any reason? We tried it from dashboard API explorer

simple bluff
#

We don't really know how the Dashboard works. What is it that you want to do?

trail urchin
#

Can you check this req_662J1zPJksodg6

#

We want to charge payment for an invoice

#

Payment methods is bacs_debit

simple bluff
#

Yeah I mean that endpoint is legacy so we don't really advise you using it. Instead you should be confirming the associated intent

#

It doesn't handle card/3DS flows and the likelihood is it doesn't work with these newer non-card LPMs like BACS

trail urchin
#

Is there a work flow for this

simple bluff
trail urchin
#

We need to charge them automatically once a week, We need to do this through an API

simple bluff
#

Then why aren't you using the Subscriptions API?

#

That handles all this correctly โ€“ right now you've got a one-time invoice that you'll need to create every week manually

trail urchin
#

There is no fixed value, We are invoicing for a Jobs completed in a week, This can be vary,

simple bluff
#

The same still applies โ€“ don't use the /pay endpoint and instead confirm the intent. That can be done directly via the API with Stripe.js/Elements

#

The issue you're likely going to have though is that invoices are inherently on-session where as the recurring nature you want is off-session

trail urchin
#

The invoice created using on_behalf_of flag for a connected account, Is that a reason? Because same flow worked for a invoice which dosn't have a on_behalf_of

simple bluff
#

Yes you'd need to generate the PM/mandate with the o_b_o parameter set to same account

trail urchin
#

If that customer works with multiple connected accounts. Do we need to create mandate for each connected account?

simple bluff
#

Yes if you're using o_b_o

trail urchin
#

Do we need create mandates with Check out session? Is there way to create mandates with API

simple bluff
#

You'd create and confirm a Setup Intent to collect the payment (BACS) info from your customers and that will handle the mandate generation too. Essentially the same as Checkout

trail urchin
#

I think we can't create Setup Intent for bcas_debit using API

simple bluff
#

I believe you're right, it's private functionality but support can help with that

trail urchin
#

Okay thank you will check