#jakel_docs
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/1273034869198422237
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
No, this isn't possible.
the charge is split between the 2 stripe platforms
You can split a charge between two connected accounts, where each of those connected accounts is connected to the same parent platform
helpful thanks. if i were to create a token via the API https://docs.stripe.com/api/tokens/create_card?lang=node
where would i use this token when creating the charge via the payment intent approach?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You wouldn't. Working directly with Tokens means you'd use the Charges API (a legacy API) instead of PaymentIntents
got it. so payment intents really only work when using an existing stripe elemnet ( card element, payment element, etc)?
As opposed to?
just using the card token
i actually found this doc that i think shows that we can use the cardId in the payment intent
https://docs.stripe.com/payments/payment-methods/transitioning#compatibility
Taking a step back, are you building a new integration or do you currently use Tokens and Charges to charge customers?
a new integration.
we currently use the stripe payment element and payment intents
The document you found is explicitly for developers who need to migrate from Tokens/Charges to PaymentIntents so assumes you already have some saved cards that you don't want to save again
So if you're creating a brand-new integration, don't use Tokens and Charges at all. In a typical PaymentElement integration, you should create the PaymentIntent server side then confirm the PaymentIntent client side with the payment details provided by the customer. We'll use those payment details to create a PaymentMethod object on confirmation
okay got it, thanks. i will do some more research. than you