#Invalid checkout domain
1 messages · Page 1 of 1 (latest)
This happens because live.checkout.dodopayments.com is not a valid checkout domain.
What to do:
- ✅ Test mode:
https://test.checkout.dodopayments.com(correct) - ✅ Live mode: use your own production domain (e.g.
https://yourapp.com) - ❌ Do not use
live.checkout.dodopayments.comanywhere
Fix steps:
- Update your production integration to open checkout from your site domain.
- Ensure your checkout/session is created with live API keys.
- If using Inline or Overlay checkout, initialize SDK with:
mode: "live" - Retry the subscription flow.
If this still fails, your production domain may not be whitelisted—email support with your live domain.
Helpful Links
i am not using sdk
@sick cipher @warm oracle @primal dagger
@crimson inlet
The endpoint is incorrect; the correct one is:
Test - https://test.dodopayments.com/checkouts
Live - https://live.dodopayments.com/checkouts
ok, let me try, then get back to you
i am trying
this
Test - https://test.dodopayments.com
const checkoutUrl = new URL(
/checkouts/buy/${process.env.DODO_API_SUBSCRIPTION_PRODUCT_ID},
process.env.DODO_CHECKOUT_LINK,
);
Test - https://test.dodopayments.com/checkouts
const checkoutUrl = new URL(
/buy/${process.env.DODO_API_SUBSCRIPTION_PRODUCT_ID},
process.env.DODO_CHECKOUT_LINK,
);
So I am getting this error in testing
This test.dodopayments.com page can’t be found
When I am using this
Test - https://test.checkout.dodopayments.com/
const checkoutUrl = new URL(
/buy/${process.env.DODO_API_SUBSCRIPTION_PRODUCT_ID},
process.env.DODO_CHECKOUT_LINK,
);
It's working fine
@grizzled path ?
Yes
You can use a checkout session instead of a static link, as static links are quite difficult to manage as url becomes lengthy. Checkout sessions are easier to handle.