#DevSoldier-domain
1 messages · Page 1 of 1 (latest)
Hi! Can you clarify what you are trying t achieve? Is the "approved domain" for Apple Pay?
Or you mean the Checkout client-only integration?
Yeah the checkoiut client only integration
Carrying on fromy my previous thread, I corrected the type for redirectToCheckout but then had an error - IntegrationError: The domain (http://localhost:3000/) that redirected to Checkout is not enabled in the dashboard. Add this domain at https://dashboard.stripe.com/account/checkout/settings
The dashboard says:
In test mode, you can redirect a customer to and from Checkout with any domain.
So I don't think you need an approved domain if you are in test mode. Are you in test mode?
I was originally in test mode but switched to live mode because it said I had no products in test mode
Not sure why the products don't appear in both live and test mode
live mode and test mode objects are completely separate. So you'll need to re-create your objects in test mode.
However note that the client-only Checkout is quite old and is not recommended anymore. Instead you should use the new Checkout, or PaymentIntents with Payment Elements.
We have a migration guide here: https://stripe.com/docs/payments/checkout/migration
In live mode can I still use the dumy card details "4242...." or is that only in test mode?
Test cards are only for test mode.
Since you are currently testing your integration, you should do everything in test mode.
Is there anyway to quickly replacte my live object for my test object or do I have to manually do each product in the dashboard again?
There's a button in the dashboard to copy a test product in live mode, but not the other way around.
Ah right, ok I'll look into that then. Thanks again