#meruemsama7212_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/1317189878546436188
๐ 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.
- meruemsama7212_api, 19 hours ago, 6 messages
- meruemsama7212_api, 1 day ago, 16 messages
hi
i use the iban element : <Controller
name="bankAccountPayload.iban"
control={control}
rules={{ required: "IBAN is required" }}
render={({ field }) => (
<IbanElement
options={IBAN_ELEMENT_OPTIONS}
onChange={(event) => {
if (event.error) {
setError("bankAccountPayload.iban", {
type: "manual",
message: event.error.message,
})
} else {
clearErrors("bankAccountPayload.iban")
if (event.complete) {
// Handle the case when IBAN input is complete and valid
// Note: The actual IBAN value is not accessible directly
field.onChange("complete")
} else {
field.onChange(null)
}
}
}}
onBlur={field.onBlur}
/>
)}
/>
Hey! Taking a look at this. It looks like you're not using a test account_number in the request. The API actually gives you a pretty helpful error.message here:
"You must use a test bank account number in test mode. Try FR1420041010050500013M02606 or see more options at https://stripe.com/docs/connect/testing#account-numbers."
I would recommend giving it another shot using one of those test numbers for your account_number param
it's what i did 3 times
i can do it right away again if you want
and i give the req id
req_xrpQJGWOPUWH1y
This is what I'm seeing for both this request and the request before:
account_number: "complete"
Are you logging what you're sending us before you pass it to the API? You can also check what you're passing to us in the Stripe dashboard by following this link:
https://dashboard.stripe.com/test/logs/req_xrpQJGWOPUWH1y
the thing is i am using the Iban element and it won't dispaly the iban entered, i will check the doc
Hello
Taking over here.. give me a moment to catch up! ๐
Is there a guide you're following for this?
i am following the https://docs.stripe.com/payments/sepa-debit/set-up-payment
for what i ahve understood, i don't need to add an external account when setting up a Mandate SEPA, right?
external account are only for payout ?
Yes
so this is why it's failling, because i try to add external accoutn with element Iban
Yup
but it use the confirmsetup and paymentMethod id to securly register the payment method
ok but i do need to create an account for the merchant in order to create a sepa or no?
just a customer?
Let's take a step back.
Are you using Stripe Connect? Like are you building a platform where you'd also create connected accounts?
If you're just trying to accept SEPA payments on your Stripe account - you don't need any of that
i build a saas where i collect funds from their external bank acount via SEPA to my platfomr (taking a fee) and then from my platform i send to connected accounts that can send to their external ban kaccount
When merchants creates account into my Saas they have to accept mandate in order to my platform to withdraw fund from their bank account
then this funds goes to my platform (as you don't handle P2P transfer) and then from my platform i split the fund into severals charges to the merchant's team members that created connect account in order to receive the fund into their stripe balance and do a payout
When you say
When merchants creates account into my Saas they have to accept mandate in order to my platform to withdraw fund from their bank account
Are you creating customer objects or connected accounts?
NP! I think I'm following you so far.
Can you share a quick example of the requests you make when a merchant signs up so that I'm on the same page?
As far as I can tell,
1/ Merchant signs up
2/ You create a customer account and attach SEPA DD source
3/ You create a connected account and they attach their external account
4/ You debit customer's SEPA DD source
5/ You send funds to connected account's attached external acc
also are you attaching the iBANs mentioned here
https://docs.stripe.com/payments/sepa-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=elements#web-test-integration
or here?
https://docs.stripe.com/connect/testing#account-numbers
Because both are for different flows
i tried both i think : i have two entity, My merchant that only perform SEPA DD to my platform and the other side i have Indivduals that can receive to their stripe balance and perform payout.
For now i was creating connected accounts for both
i was doing This flow :
Merchant :
- create connected Account
- create customer
- create person (that represent the legal representative of the legal account)
- create externalAccount
- create setupIntent(Mandate)
- confirm mandate in client side via the form with secret key
i over complicated things
All i need to do is:
- create customer
- setup intent
- payment intent
done
Yup.. That's for the pay in
For payout, you don't need a SetupIntent
The connected account would attach the bank account as part of onboarding process anyway
unless you're doing custom onboarding
i am doing custom, in order to payout i need to crete connect account and process KYC etc.. right?
Yes but if you're not trying to white label the experience completely - you can also use Stripe hosted onboarding and let Stripe handle it for you
i can onboard individuals right? (like a regular person or employee)