1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 09/05/2022 : 16:26:07
I created a sub domain on my site, checkout.usafleetsupply.com, and went through the setup and connection process per the Stripe Docs instructions (https://stripe.com/docs/payments/checkout/custom-domains). I performed all connection tests and Stripe has verified that my Records (cname, txt) are stable. I received confirmation from Stripe that my new custom checkout domain was connected and is "ready to use". I switched from checkout.stripe.com to checkout.usafleetsupply.com in my Stripe dashboard and performed a test purchase but unfortunately my customers are still being directed to checkout.stripe.com to complete their order.
Since I have come this far, I would really like to continue with this if possible. Is it possible to make some changes within my site to point my customers to my new sub domain checkout.usafleetsupply.com to complete thier purchase?
|
Vince
Administrator
42874 Posts |
Posted - 09/06/2022 : 01:30:20
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 09/06/2022 : 05:47:19
Vince,
Thanks for the quick reply. The setup is actually much easier than I expected. Stripe reviews each step to make sure everything is connected correctly. Once the CNAME and TXT records propagate, they also must be reviewed and tested by Stripe. After all of the steps are accomplished, the Stripe tech reps manually review the custom domain for stability, review the connection status, etc. Once this is done, the custom checkout is allowed to go live. Everything seems to be set up correctly on my end. From what I understand from a mutual third party, the "Stripe endpoint" may require some changes (this is what I was told).?
|
Vince
Administrator
42874 Posts |
Posted - 09/07/2022 : 06:15:23
|
insight
ECT Moderator
USA
4479 Posts |
Posted - 09/12/2022 : 06:03:47
Does it not need some tweak to the cart code so that the checkout button will now lead to checkout.usafleetsupply.com, rather than checkout.stripe.com? Peter  Professional ecommerce web hosting services Shared hosting Windows & Linux | Dedicated servers | Domains | SSL Ecommerce Templates specialists since 2003 https://servelink.com
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 09/12/2022 : 13:29:23
I asked Stripe support if I had possibly missed a step during setup, as I am unable to see any changes in the checkout process after creating the custom checkout. Stripe support returns my support inquiries with "the custom checkout is complete and is ready to use" on their end. I am able to switch from checkout.stripe.com to checkout.usafleetsupply.com (live mode) in my Stripe dashboard, but it doesn't make a difference in the process.
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 09/13/2022 : 07:36:13
For what it is worth, I elevated this support ticket via Stripe and received the following response. I am not sure exactly how to respond however. Here is a copy/paste from Stripe. Are you doing both the checkout session creation and re-direction on the server-side, or are you doing the checkout session creation server side, and then doing the redirection on the client side using stripe.redirectToCheckout [0]
It's worth noting that custom domains only work at the moment when everything is done server-side [1], so I just wanted to rule this out before continuing. 
|
insight
ECT Moderator
USA
4479 Posts |
Posted - 09/13/2022 : 09:22:58
quote: ...doing the checkout session creation server side, and then doing the redirection on the client side using stripe.redirectToCheckout [0]
I believe that is the case, yes. Peter  Professional ecommerce web hosting services Shared hosting Windows & Linux | Dedicated servers | Domains | SSL Ecommerce Templates specialists since 2003 https://servelink.com
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 09/13/2022 : 14:47:52
I sent the information ( doing the checkout session creation server side, and then doing the redirection on the client side using stripe.redirectToCheckout [0]) to Stripe support just to see what comes back. I am still waiting to hear back from Stripe, but since "custom domains only work at the moment when everything is done server-side", I am assuming that this is just not going to work at this time. I don't know what it would take to have everything done "server side" (?), but this would still be a great addition to Stripe checkout if the details can be worked out in the future. Thanks 
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 09/14/2022 : 06:05:34
I did receive a follow-up from Stripe after notifying them that we were doing the checkout session creation server side, and then doing the redirection on the client side using stripe.redirectToCheckout.
In that case the custom domain won't work. The checkout session creation and re-direction would both need to be done server side in order for the custom domain to be displayed [0]
We have a guide which details how to set up this integration...
https://stripe.com/docs/payments/accept-a-payment?integration=checkout
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 10/10/2022 : 05:48:14
Thanks to Vince for adding this to the new 7.5 updater! I have completed all of the steps and am now using my new sub domain checkout.usafleetsupply.com and the integration seems to be working fine.
I am wondering if I can now somehow embed this in my web page so that it gives the customer a seamless checkout experience? While the final payment page now shows checkout.usafleetsupply.com as opposed to checkout.stripe.com, the page still has the same look as it did previously, with the blank white background and the small logo, etc.
I am wondering if there is a way to embed this into a web page so that the customer doesn't feel like they are leaving my website to complete their purchase.? (usafleetsupply.com)
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 10/10/2022 : 15:40:24
So there is actually no difference in the final payment page when using this custom checkout via Stripe. What I was looking for was to get the entire checkout process to be completely on my website. However, even with this new custom checkout, the user is still going to a Stripe hosted page to enter their payment information, This is the blank, white page with the mini logo and credit card entry boxes. The only thing that this accomplished is the text in the url on the payment page changed from checkout.stripe.com, to checkout."mywebsite".com.
So, I submitted this information to Stripe support and asked id there was a way to embed the payment page in my website, to keep the appearance of my website throughout the entire checkout process. The answer is NO unfortunately. Here is the reply from Stripe:
Whether you use Stripe Checkout with our default domain, or your custom domain, your customers will always be getting re-directed to a Stripe hosted page. The only real difference is in the URL that the customer sees.
Stripe Elements might be what you're looking for if you're interested in adding payment-related UIs, but want to avoid doing re-directs to Stripe-hosted pages.
It's a bit of a tradeoff here, because Stripe Checkout is a lot easier to integrate, but Elements gives you that extra customisability.
I know there are others that are interested in this, so I thought that I would post this here. Adding your sub domain (checkout.yourwebsite.com) does not keep customers on your website.

|
Vince
Administrator
42874 Posts |
Posted - 10/14/2022 : 09:16:24
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 10/25/2022 : 08:51:03
Vince,
I updated to the new 7.5.4 version, and selected Take Payments Onsite via the Stripe admin area. The credit card input boxes are loading at the bottom of the cart page, but after entering the card info and clicking Submit, nothing seems to happen. The Submit button grays out and the form can't be resubmitted. The order is not processed and the page just sits.
I updated all of the 7.5.4 files again just to make sure I didn't miss anything there. I'm not sure what else I'm missing....
|
Phil
ECT Moderator
United Kingdom
7715 Posts |
Posted - 10/26/2022 : 05:27:07
Hi I've updated my own site and set Stripe to take payments on my own website and ran a test transaction without any issues. I've not tested since but I don't expect any problems in the future. You did apply the updater in full I presume? Have you tried a test transaction using the old method where payments are taken on the Stripe site just to rule out your set up? *Contact Us**Buy The PHP Capture Card Plugin**Rate Our Services/View Our Feedback*
Edited by - Phil on 10/26/2022 05:28:47
|
Vince
Administrator
42874 Posts |
Posted - 10/26/2022 : 05:55:00
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 10/26/2022 : 14:47:56
Phil,
Thanks for the info. I've applied the new updater a few times to make sure I didn't miss anything. I am currently using checkout.usafleetsupply.com. I switched to that a few weeks ago. I haven't had any issues with it since switching to the custom checkout (or prior).
Vince,
I am not sure how to create a test page for this without affecting my current checkout process. (?)
|
Vince
Administrator
42874 Posts |
Posted - 10/27/2022 : 09:40:45
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 10/27/2022 : 11:10:23
Vince,
Yes, I have been using the checkout.usafleetsupply.com for several weeks now, before the new 7.5.4 updater was released. I am still using this method today. Should I switch back over to checkout.stripe.com in my Stripe account?
|
Vince
Administrator
42874 Posts |
Posted - 10/28/2022 : 03:47:53
|
1234
Ecommerce Template Expert
USA
974 Posts |
Posted - 10/29/2022 : 11:00:58
Vince,
Stripe used to allow you to toggle back and forth between checkout.stripe.com and checkout.yourwebsite.com, but they changed that several weeks ago though unfortunately. Now they have it set up where, if you disconnect your custom domain (checkout.yourwebsite.com), it is removed from their system altogether and you need to go through all of the custom domain steps again to recreate it (which is a pain in the big toe).
I removed checkout.usafleetsupply.com from my Stripe account and switched back to Take Payments Onsite in my Stripe ECT admin, but I am still having the issue unfortunately. The credit card boxes show at the bottom of the cart page, but the form doesn't process when submitting the payment. The submit button grays out and the page just sits.
Maybe it is a javascript error as you suggested.?
|
|