#notorious-dan-_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
- notorious-dan-_api, 37 minutes ago, 20 messages
Hmm, that request was made via the Dashboard?
Oh sorry this request is from the dashboard
Is there any reason? We tried it from dashboard API explorer
We don't really know how the Dashboard works. What is it that you want to do?
Can you check this req_662J1zPJksodg6
We want to charge payment for an invoice
Payment methods is bacs_debit
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
Is there a work flow for this
We need to charge them automatically once a week, We need to do this through an API
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
There is no fixed value, We are invoicing for a Jobs completed in a week, This can be vary,
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
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
Yes you'd need to generate the PM/mandate with the o_b_o parameter set to same account
If that customer works with multiple connected accounts. Do we need to create mandate for each connected account?
Yes if you're using o_b_o
Do we need create mandates with Check out session? Is there way to create mandates with API
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
I think we can't create Setup Intent for bcas_debit using API
I believe you're right, it's private functionality but support can help with that
Okay thank you will check