#masud

1 messages ยท Page 1 of 1 (latest)

hallow stormBOT
delicate badge
#

๐Ÿ‘‹ taking a look!

#

Do you have a request ID for that failure/error?

lime barn
#

req_myIpFo0JAtYNsM

delicate badge
#

Thanks! I think you're mixing up your test secret keys / accounts.

lime barn
#

oh am i

delicate badge
#

(Please don't share your keys here)

#

Account acct_1NDJL5QPjbfkUvss belongs to a different platform

lime barn
#

I figured it wouldn't matter since i have the account_id and i'm doing it on their behalf.

So the accounts i wanna do it on behalf of needs to be on the same platform account?

#

In that case

I'm trying to build a way to eanble people to subscribe to products on behalf of other accounts.

Is it possible to use stripe elements to make this happen?

delicate badge
#

eanble people to subscribe to products on behalf of other accounts
I don't really understand this. Can you share more details about your use case and what you'd like the flow of funds to be?

lime barn
#
  1. I have the connect account_id.
  2. Connect account has Products (subscriptions and one-off).
  3. I want to use Stripe Payment Element to take in payments for those Products, which will be sent to the Connect Account. (https://stripe.com/docs/payments/payment-element)

Accept payment methods from around the globe with a secure, embeddable UI component.

#

I know that i can create a payment link, but i don't want to do it that way because i want to build the payment into my website using Stripe Payment Element.

delicate badge
lime barn
#

I wasn't, i was using payment intentions.

#

oh sorry, misread.

#

I wasn't doing desitnation charges like that. i will try that out.

Question tho: Do the connected accounts need to be on my platform for me to do this? And how do i link a specific product or plan that they're subscribing to?

delicate badge
#

I recommend starting with that destination charges guide, yes.

#

Taking a step back, custom accounts are "managed" by a single platform (the platform that created them), so yes, the connected accounts need to be on your platform to do this.

#

Destination charges are created on your platform, and funds are transferred to the connected accounts. As such, products and prices would need to be created in your platform account

lime barn
#

So if i want to be able to do this for stripe accounts that's NOT in my platform, how would i do this?

My first instict is to use oauth to get the secret + publishable keys and then use those keys to create the payment intents.

delicate badge
#

You can use oauth, yes, but you can only use oauth with Standard and Express accounts. Oauth wouldn't give you those connected accounts' keys, however

lime barn
#

Right that makes 100% sense to me.

What about creating a paymentintent linked to a speciic product/plan?

delicate badge
#

PI's are low level objects. A PI has an amount but isn't directly tied to a product or price.