#MadMac

1 messages · Page 1 of 1 (latest)

quartz moatBOT
vital heart
worthy path
#

This is the req for the 2nd one. The workaround.

#

Note I am in testmode

vital heart
worthy path
#

Ok so is there a workaround? Could I make more than one configuration and use a the non default one?

#

I want to update from the API as otherwise my connected accounts have to manually do this

#

And they won't

vital heart
worthy path
#

I have already created one. So creating multiple portal configurations from the API for a connected account is all good?

#

The 2nd one will not be the default?

#

I did notice the "application" field on the configuration was null too. Not sure if this will cause a problem.

vital heart
worthy path
#

Awesome I will give that a try now. Thanks for the super fast help!

vital heart
# worthy path https://dashboard.stripe.com/test/logs/req_FlregNoifjvamp

The reason why No such customer: 'cus_McvffY9U4bNvj0' was thrown in req_FlregNoifjvamp is because cus_McvffY9U4bNvj0 is created on the connected account whereas the portal session is on platform. If you wish to use the customer on the connected account, both portal configuration and session should include Stripe-Account header: https://stripe.com/docs/api/connected_accounts

worthy path
#

I figured that. The last link you sent had a better explanation of on_behalf_of so I think I understand it now

vital heart
#

Awesome! Glad that it's been figured out!

worthy path
#

Genius. It works.
Its a bit weird having to create a default portal config first to be a placeholder but I have no problem doing that.
Thanks so much for your help I have been stuck on this for ages!

vital heart
#

No problem! Happy to help 😄