#islecavern

1 messages · Page 1 of 1 (latest)

vital merlinBOT
timber flare
#

I am getting the error that my domain that redirected to checkout is not enabled in the dashboard
Can you share the exact error message or a screenshot of the error?

wild sapphire
#

XHRPOSThttps://api.stripe.com/v1/payment_pages
[HTTP/2 400 Bad Request 178ms]

Uncaught (in promise) IntegrationError: The domain (<my_domain_url>) that redirected to Checkout is not enabled in the dashboard. Add this domain at https://dashboard.stripe.com/account/checkout/settings.
r https://js.stripe.com/v3/:1
n https://js.stripe.com/v3/:1
r https://js.stripe.com/v3/:1
t https://js.stripe.com/v3/:1
te https://js.stripe.com/v3/:1
_handleMessage https://js.stripe.com/v3/:1
u https://js.stripe.com/v3/:1
_setupPostMessage https://js.stripe.com/v3/:1
addEventListener https://js.stripe.com/v3/:1
_setupPostMessage https://js.stripe.com/v3/:1
e https://js.stripe.com/v3/:1
wa https://js.stripe.com/v3/:1
get https://js.stripe.com/v3/:1
redirectToCheckout https://js.stripe.com/v3/:1
go_to_subscription_link <my_domain_url>/web/js/users/subscription.js:148
<anonymous> <my_domain_url>/web/js/users/subscription.js:7
jQuery 7
<anonymous> <my_domain_url>/web/js/users/subscription.js:6
jQuery 11
v3:1:507937

#

For privacy, I replaced my actual url with <my_domain_url> here

timber flare
#

Custom domains for Checkout are for server side integrations only so I suspect that's not what you're looking for

wild sapphire
#

My domain url is already listed in my domains under client-only integration

#

it is the one and only domain there

timber flare
#

Do you have a link to an environment where I can reproduce this error?

#

Or do you have your Stripe account ID? It should start with acct_

wild sapphire
#

I have a stripe account, but I don't know where to find my stripe account ID

timber flare
wild sapphire
#

I found it

#

acct_19a4c7CzIKjCiiEG

timber flare
#

Taking a step back, I see in your logs that you're also using the server-side Checkout integration. You're creating Checkout Sessions with some backend PHP code. How do you ultimately plan on integrating with Checkout?

wild sapphire
#

my website has login and sign in for mulitple users, and my server has a database that stores the subscription_id and customer_id for each user, and I have a my own server side code triggered by a webhook that makes sure that the subscription_id and customer_id is associated with that in my server's database

#

I also want to split payments with stripe connect accounts, where say I have 10 stripe connect accounts and 10 promo codes, and depending on what promo code the customer subscribes with, a 10% commission will automatically get diverted each month to a specific stripe connect account along with a 10% discount to the user, but diverting 10% commission automatically to a stripe connect account each month based on a promo code for a subscription is still something I need to figure out how to do, I think using webhooks somehow

timber flare
wild sapphire
#

Ok, thank you, I will look through this tommorrow and see what I can figure out. If I get stuck, I may come back here.

#

oh the problem with this checkout page, is that's fine, but I also need to manage a current subscription, update payment method or cancel subscription of the currently signed in user

#

It is the stripe.redirectToCheckout function that was giving me that error by the way.

vital merlinBOT