#iggna_best-practices
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/1331331339646926929
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! What you're describing is possible with Connect. You would likely need to connect the accounts to each other, and then you can share Payment Methods from one to the other: https://docs.stripe.com/connect/direct-charges-multiple-accounts
It's a bit of an unusual set up, but it can be made to work.
You'll need to be careful about keeping the Payment Methods and Customers and whatnot in sync across the two accounts.
Hey Rubeus, thank you for your response, anything i should be concerned about or limitations of stripe connect? does it work with Stripe API?
It works with the API. I recommend you read through the Connect docs you linked to. There's a lot of information, but it's important. Connect is powerful and quite complex.
also, for saving payment information, it requires Stripe UI elements with newer versions of API? API current versions only handle payment methods or setupIntents tokens just for saving cards or future payment information right? because in the past I could handle card numbers and information and create/ attach the tokens on the backend.
Not sure I understand your question. Can you provide more specific details? It's difficult to answer such a high level/vauge question without specific information.
Yes, sorry, I have a stripe API key I created 2 yeasr ago, create payment methods accepts raw card data like number, cvv, and expire date, is this data handling still possible with newer stripe API versions? so far as I've researched, they changed it:
StripeInvalidRequestError: Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.
this error first appear to me when I created new api keys for this 2 enviroments that I described in my first message.
Hi, I'm taking over as my teammate needs to step away. Let me catch up
also if you could get me some docs on how to hop on my two enviroments into stripe connect
You're right, passing raw card details is no longer supported and it would require additional features to enable on your account. https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis is exactly how you can achieve this
Can you clarify what 'how to hop on my two enviroments into stripe connect' means?
so, we need to integrate stripe UI elements with sdk right?
this was the message of Rubeus, and he said it was possible to link two enviroments into stripe connect, if you have some docs you could provide
I highly recommend that you review this here: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
You can start here: https://stripe.com/connect and https://docs.stripe.com/connect/how-connect-works
we have a custom backend, if a user inputs information through stripe sdk/ UI elements, can the UI provide a paymentMethod token or setupIntent token so I can attach it to the customer on my end?
There is a lot of information there so let me know what questions you may have after reviewing these
When you use SetupIntents, it automatically attaches to the customer, https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements if you pass the customer id.
when will stripe stop supporting the raw card info? for older enviroments/ api keys?
also, let's say stripe initializes stripe sdk with one eviroment api keys, but that stripe enviroment is connected with other stripe accounts through stripe connect, can I grab that paymentMethod token and copy it to assign it to another customer in other stripe account?
Please review the documents provided: https://docs.stripe.com/connect/direct-charges-multiple-accounts.
can we also set up more than 1 USD bank account per stripe enviroment?
yes but what about this one?
Are you referring to payouts?
no, for creating payment methods through api
oh sorry, you speaking of bank accounts?
yes, they would be for payouts
As long as you're compliant, https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis I do not think there is an immediate plan to deprecate it fully
We document the payouts here: https://docs.stripe.com/payouts#multiple-bank-accounts
so is possible or not? have more than 1 usd bank account attached for payouts
because I don't see option from dashboard
No it is not as documented above