Cart 3 Yuzool working? Solved

OK guys !

I created the simpliest Cart3 webpage on an existing website of mine, and Stripe checkout doesn’t work.

The error is the same when the “thank you” and “error” web address fields are empty or not, in the Cart3 settings.

I checked my time zone ; PHP is native 7.2 ; so it is fixed automatically for my french timezone ; don’t know if this is correct : do I have to change that manually ?..

The error when checking with stripe is the same that yesterday ; when you click “pay with Stripe” ; a “non existing page” on my website is asked ans I get a 404 error.

For example ; the “real” website is : www.lafermeduvaldenoye.com
The “shop” address is ; https://www.lafermeduvaldenoye.com/magasin/ferme.php"
or, when I click for Stripe, I have a request for a “https://www.lafermeduvaldenoye.co/magasin/index.php

Same thing with my test website : www.nicolaspetit.net
Shop address : https://www.nicolaspetit.net/test/magasin.php (here)
When I click Stripe : request for https://www.nicolaspetit.net/test/index.php

I don’t understand why I have this request for a page “test/index”… That does not exist in my project.

You can down my project here

Thanks, very much.
PS : maybe I won’t reply as soon as I wish because, as a new member, my posts are limited (I had to wait hours just to post this one !!!)

I added a URL to the success and fail setting and it’s working for me now. With these options left blank the order wasn’t getting passed to Stripe.

https://www.mailshotmonkey.co.uk/testy/

21

In so far as Cart3, it’s working fine, once you add in a success and fail URL. The other issues you mention I can’t replicate, but my guess is they are as a result of either your settings within the project, or settings on your server.

2 Likes

Cool, thank you very much steve !
I have no time to check this now but I’ll do that soon !!!

By then ; you mean that, at first, without these 2 URL, it wasn’t working ?

Can I use your 2 URL at home to have the exact same conditions and see if the problem for me could come from my hosting service ?

You can put the ones I put in, or any, I tried several, all worked.

In fact I can not try with one of yours because I can’t read it completely, but that’s not a real problem…

Could you please try with this 2 URLS :


So ; if it works ; the problem comes from my hosting company.

If it doesn’t work : probably because of my URLs and maybe the hosting company.

(-_-)

@Avzw: you said : " I updated the PHP version and set the time to CEST" can you explain me that please ? This has to see with the timezone settings ? I am NOT a cPanel (or coding) expert (I’m the opposite of an expert… ;-)

Updated with those URLs and working fine, right thru to landing back on the merci page.

So it’s either a setting elsewhere in your project, something on the page* or your hosting.

  • This might be the case even if there is also a problem with your hosting. From memory, when looking at hte original page you linked to, there was an issue with the cart popup. So, it’s possible you have two issues to find and fix.

OK thanks.
First I have to make this page work, I’ll start from there after that to rebuild the real webstore.

I’ll wait for @Avzw informations about timezone too and I’l get back to my hosting company. Big thanks, I’ll keep you informed !

If it is a timezone thing, try adding this to the head section in Inspector.

<?php
date_default_timezone_set('Europe/London');

$script_tz = date_default_timezone_get();

?>

Change “Europe/London” according to your timezone/locale.

Didn’t work… This afternoon I’ll contact my hosting company.

Hope you get it sorted.

I’ve no idea on the hosting company you use, but i do know that those at the cheaper end of the scale can be a bit of a nightmare when it comes to things like this.

Good luck.

It’s o2switch, they are good usually, I even took all my stuff at their place last year because I was very happy with their hosting !!! Very funny :-)

I am discussing with them but they don’t find anything right now…

What is yours ?

I use a small local private company.

Well : o2switch did not find any solutions, I’m stuck right now !

I’ll try to find someone that is using Cart3 in France, I’ll make another post…

Thanks a lot for your time and knowledge, I’ll keep you informed unless the topic is closed first !

As a final attempt, if you want, send me your ftp credentials and I will publish my test file to your server. At least then, if it still doesn’t work, we can 100% say its a server issue.

I appreciate sending someone your ftp details is not ideal, so understand you might not want to!

I could do that, you seem to be a super-nice guy ;-)
I’m going to create a sub-domain because, right now, it is just a RW page that I created on an existing website and uploading manually to the server, ok ?
Then I’ll send you a private message.

Edit ; OK so : the webpage is here and… I’m so happy because the error is still there ;-)
And so I send you a private message.

Working: https://www.stripe.nicolaspetit.net/

I did however have to change the URL for the website address in settings. You had…

https://www.stripe.nicolaspetit.net/

Whereas it should be https://stripe.nicolaspetit.net/ (no www) for a sub domain. Or at least that’s always been my understanding, and with the www the page didn’t work, but with it removed, it does.

EDIT: OK, ignore the comment about the www, that was my mistake. But, using the details supplied I’ve published and it’s working as expected.

By the way, I’ve selected to backup the project to the server, so if you want it, it’s on your server now.

Wow… I saw that, incredible.

So do you have an idea of what could create the error when I upload my RW document ?
I really don’t understand what is happening. I’m going to put all my attention to my export / uploading settings…

Backup ; thanks !

First thing I’d do is maybe delete the Cart3 stack and re-install it from a fresh download.

Then download the backup i put on the server and see if it publishes from your own machine.

OK I’ll do that.

I guess the expression cannot be translated directly from french to english but… You’re a mother to me !

1 Like

Ya, that’s a bit weird ;-)

1 Like