#jasonfish568

1 messages · Page 1 of 1 (latest)

karmic voidBOT
weary acorn
#

Hi there, so have you saved your customer portal settings?

remote mango
#

Yes. Only for the platform stripe account as instructed by the documentation

weary acorn
remote mango
#

$session = $stripe->billingPortal->sessions->create([
'customer' => $customer->stripe_customer_id,
'return_url' => env('FRONTEND_URL') . '/mre/subscriptions',
], ['stripe_account' => $company->stripe_connected_account_id]);

I also included the stripe_account for the connected account.

#

One sec

weary acorn
#

Ok, so you are creating a portal session on the connected account.

remote mango
#

req_ncHnbBlAuVsmfl

weary acorn
#

have you saved the settings in the connected account as well?

remote mango
#

Should I also set the setttings for the connected account?

weary acorn
#

Yes because you are creating the session on the connected account (i.e., since you have included the stripe_account)

remote mango
#

I have also set the settings on the connected account

#

Oh I think I used the wrong account id

#

let me double check

remote mango
#

Please close this chat, I am now able to create the url. Thanks so much.