#omnidk - Customer Portal

1 messages ยท Page 1 of 1 (latest)

final sandal
#

Hi ๐Ÿ‘‹

drowsy elbow
#

Hi ๐Ÿ™‚

#

How's you?

final sandal
#

Well it's picking up but I think you can configure this. How are you configuring the portal?

drowsy elbow
#

nice ๐Ÿ™‚

#

with;

#

$stripePortalSession = \Stripe\BillingPortal\Session::create([
'customer' => $stripe_id,
'return_url' => $return_url,
]);

final sandal
#

Okay and you are not seeing this URL in the portal?

drowsy elbow
#

it's setting return_url correctly for when user clicks from the billing portal, but for security the billing portal does a 'page timeout' and user is shown link back to site. That link is not taking return_url but is to the site home page.

#

Here's the link I'm referring to

final sandal
#

Ah, okay i don't think that link is quite as configurable. I'll look into this

final sandal
#

Looking through the technical documentation, I do not think the URL presented is configurable. The idea is that you should be redirected to the previous page so the user can start a new portal session.

drowsy elbow
#

Thank you, expected behavior would be as you say, client telling me it's returning to site home page. Will just not worry ๐Ÿ™‚ thank you, take care!

#

actually, this is kinda bugging me

#

any chance we can pass feedback up the chain? that link really should use the same 'return_url' that is set in the portal link building method call.

sour grotto
#

I'm testing it on my end.. please give me moment

#

Ok, I'll provide this feedback to the team -- thank you for bringing this up.