#vivek mahajan
1 messages · Page 1 of 1 (latest)
Hi
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This should help, doesn't it?
Let me check
I am seeing this
$stripe->billingPortal->sessions->create([
'customer' => 'cus_N5h8gfxNCbx35A',
'return_url' => 'https://example.com/account',
]);
you mean use this code?
also it shows
The default URL to redirect customers to when they click on the portal’s link to return to your website.
Does is there option for auto redirect?
Yes that code, and yeah I meant that return_url. You set it to your system page
It should redirect to your page. You can setup a GET query parameter of customer id