Log in
Email
Password
We're having trouble logging you in. Please try again, or contact us if you continue to have problems.
Home
ShOP
.
Guestlist
Profile
Register
Book Now
Cart
0
Your Cart
$ 0.00 USD
:
Remove
No items found.
Product is not available in this quantity.
Log out
document.getElementById('yourButtonID').addEventListener('click', function() { fetch('/create-customer-portal-session', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ customer_id: 'stripe_customer_id', // Replace this with dynamic customer ID data }), }) .then((response) => response.json()) .then((data) => { window.location.href = data.url; // Redirect to the portal }) .catch((error) => console.error('Error:', error)); });