#miran_api

1 messages ¡ Page 1 of 1 (latest)

lean hareBOT
#

👋 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/1288102738353455157

📝 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.

amber dawn
modern shell
#

We don't have subscriptions on the connected account. Just one time charge...

amber dawn
#

Then that's fine then yes. But as long as you understand that once you clone the PM to the connected account and use it for payment without being saved to a cloned customer it is discarded and not reusable

#

Means you'd need to clone it again for a future payment with that card on that same conncted account

modern shell
#

Okay, that is acceptable at-least for now. So, you are saying I need to clone the PM to create direct charge?

#

I just created a payment intent with the stripe_account header and it did create the PI.

#

Couldn't I do that instead of cloning?

amber dawn
#

If you're doing direct charges, via Stripe-Account header, then all referenced objects (cus_xxx, pm_xxx) must exist on the conncted accounts

modern shell
#

Okay, if I need to do that, why this works? This made me so confused...

#

Can't I just pass to frontend and use the client secret to accept the payment?

amber dawn
#

Why woudn't that work? It's just an intent in requires_payment_method state

#

You didn't pass in parameters that reference any objects

amber dawn
lean hareBOT
modern shell
#

Ahhh.... now I get it. So, in our application, since I am not a genius on Stripe, the customers always pays with their card. We didn't provide any feature to save their cards...

amber dawn
#

Normally in Connect scenarios when a customer comes to checkout in your application, you'd save the card on the platform first and then clone to the conncted account(s) where you're creating the payment (intent)

#

Then that same PM that is saved on the platform can be cloned to other connected accounts in scenarios where that customer returns to your app, but wants to purchase from a different connected account

modern shell
#

Thanks, it makes sense now.

feral burrow
#

hi there! let me know if you have other questions