c’est votre espace,

nous y avons tout regroupé pour vous

[woocommerce_my_account]

\Stripe\Stripe::setApiKey('sk_test_lyBexS1uvCkP4AsPNuwBGWq6'); // Authenticate your user. $session = \Stripe\BillingPortal\Session::create([ 'customer' => '{{ CUSTOMER_ID }}', 'return_url' => 'https://example.com/account', ]); // Redirect to the customer portal. header("Location: " . $session->url); exit();