#lyubo_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/1318542811011878934
đ 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.
- lyubo_api, 22 hours ago, 13 messages
Hi
Hello
so i have this logic to maunt my card using the Stripe JS API
Can I use the same card from stripe1 in order to make a second payment to stripe2 account
stripe1.createPaymentMethod({
type: 'card',
card: cardNumber // Ensure cardNumber is a valid Stripe element
})
stripe2.createPaymentMethod({
type: 'card',
card: cardNumber // Ensure cardNumber is a valid Stripe element
})
because the money from this card needs to go in 2 separate accoutns
No, you cannot
So what can I do then ?
Well, what are you trying to build exactly?
This is the part that causes the error
A platform for fundraising. On the front end there will be a button "donate to the platform". Which means that the amout a user puts in the input (100$ for example)
will need to be separated to 80 / 20
Sounds like you should be leveraging Connect then, and you can clone the cards across accounts from the platform
80$ to my first account (stripe1) and 20$ for my second account (stripe2)
well, I have never used it
is there a way to fix it so I don't have to use it?
If you want to split payments that way then you need to use Connect yes. You can't move funds between accounts otherwise
is there another approach I can use beside Connect? Is it hard to work with?
Other than processing two separate payments? No
Connect can be quite advanced yes, depends on your requirements
Is Stripe Connect a paid service?
There's some additional fees yes, check https://stripe.com
Can I use the same approach (Stripe JS API) in order to make the payments or Connect is a totally different thing?
Yes the payment flows are largely the same, some additional parameters to control flow of funds. But you still use Stripe.js, Elements, etc