Store Mode

Checkout Issue - Store Mode

Checkout Issue

by Anonymous » Fri Nov 12, 2021 10:21 pm

Running 1.8.0 . Site running under SSL.

I installed it and set it to checkout. I get the correct message on the cart page.

If I click on the checkout button then I get

MODULE_STORE_MODE_REDIRECT_MESSAGESorry, you have tried to access the %s page which is part of a temporarily closed area.
We are working to improve this area, thank you for your understanding and patience.


Error!

Unable to determine connection method on a link!

Known methods: NONSSL SSL

---------------------------

This is on checkout_shipping.php.

If I try checkout_payment.php in the URL I get the same error as above.

If I try checkout_success.php in the URL it takes me back to the cart page which I assume is the correct action?


Do you know why this is happening?
Anonymous
Senior Contributor
Posts: 473
Joined: Sun Oct 06, 2019 12:52 pm
Phoenix Version:
Contact:

Re: Checkout Issue

by raiwa » Sat Nov 13, 2021 7:31 am

For the message: there is a debug line accidentally left in the hook.
This message doesn't show if your redirect link works correct.
Please delete in:
includes\hooks\shop\system\storeMode.php
line 97:

Code: Select all

echo '<br><br>MODULE_STORE_MODE_REDIRECT_MESSAGE' . MODULE_STORE_MODE_REDIRECT_MESSAGE . '<br>';
For the link error:
Please check your configure files. It seems there is something wrong. This works on my teststore.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Checkout Issue

by Anonymous » Mon Nov 15, 2021 2:46 pm

That for rid of that line.

Config.php

My config file is standard Phoenix but I am running as a folder mydomain.com/store.

Is there some other setting for your Add On I am missing? Is there supposed to be something in the .htaccess?

Checkout Mode

I worked out checkout_success.php works because it is not a default checked page for the Modules> Store: Checkout Pages.

I still get the SSL error message above.

Account Mode

I tried account mode under Modules> Store and when I choose any account options on the site, it tries to go to /shopping_cart without the .php so gets a 404 response.
Anonymous
Senior Contributor
Posts: 473
Joined: Sun Oct 06, 2019 12:52 pm
Phoenix Version:
Contact:

Re: Checkout Issue

by Anonymous » Mon Nov 15, 2021 3:12 pm

I checked the site using mobile phone with different IP (so not test mode) and all I get is the cookie page.

I had to uninstall the module to get the site working again.

This looks like a good module but it is not working for me.
Anonymous
Senior Contributor
Posts: 473
Joined: Sun Oct 06, 2019 12:52 pm
Phoenix Version:
Contact:

Re: Checkout Issue

by raiwa » Mon Nov 15, 2021 4:27 pm

It works for everyone else.
So I believe you have something wrong setup.
Please post your configuration file without the database credentials for further help.
it tries to go to /shopping_cart without the .php
This sounds like you have a URL rewriter like SEO Urls installed.

You could also try to access an account page in account test mode to see if you get the same issue there.
I just checked again in my test store which is also under a subdirectory and it works flawless.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact: