Site not completing orders

Open to all! Ask other shopowners for help.
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Site not completing orders

Post by 14Steve14 »

burt wrote: Wed Sep 13, 2023 7:04 am What does your hosts error_log say when you attempt a checkout ?
Would be interesting to see what what errors are listed in there, otherwise just stabbing in the dark.

I have found and rectified so many errors in the last few weeks with my new test site, it can be a real helper to see what is in there. Post any bits in the file in the root folder of your test site or in the live sites root folder. There may also be another in the admin files but probably not related to the payment module but may help with order stuff.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 422 times

Re: Site not completing orders

Post by burt »

So that error is telling you that those functions are about to be gone.
You therefore have some code (perhaps in core, but likelier in addon) that uses those older tep_db_ functions.

Your task is to scan your site for any mention of tep_db_query

Scanning a site is easiest if you have a copy of your live site stored somewhere on your computer and use a program such as "grepWin" to search for text strings in files. Alternatively you might know which addons you have added, so you could directly look at the code in those addon files.

Once you have found that search string, it should be relatively obvious which is causing issues in the checkout, eg a module for checkout_success or checkout_payment, whereas the same text string in a module for (eg) product_info would not cause a checkout error. Do not try to fix things without getting further advice.
I am not here to build for you.
I am here to build with you. Let's help each other.
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Re: Site not completing orders

Post by PBR Streetgang »

burt wrote: Wed Sep 13, 2023 3:29 pm So that error is telling you that those functions are about to be gone.
You therefore have some code (perhaps in core, but likelier in addon) that uses those older tep_db_ functions.

Your task is to scan your site for any mention of tep_db_query
SCREENSHOT ATTACHED

Scanning a site is easiest if you have a copy of your live site stored somewhere on your computer and use a program such as "grepWin" to search for text strings in files. Alternatively you might know which addons you have added, so you could directly look at the code in those addon files.

Once you have found that search string, it should be relatively obvious which is causing issues in the checkout, eg a module for checkout_success or checkout_payment, whereas the same text string in a module for (eg) product_info would not cause a checkout error. Do not try to fix things without getting further advice.
You do not have the required permissions to view the files attached to this post.
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 422 times

Re: Site not completing orders

Post by burt »

You haven't yet told us what version Phoenix you are using.
Problem would seem to be paypal_standard.
I believe there is an updated addon, I have never used it so can't give further advice, but it is made by one of our Certified Dev's so it should be golden.
I am not here to build for you.
I am here to build with you. Let's help each other.
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Re: Site not completing orders

Post by PBR Streetgang »

v1.0.8.20
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Re: Site not completing orders

Post by PBR Streetgang »

Removed the PayPal module I had and installed this one
app.php/addons/free_addon/paypal_standard_for_phoenix
Same results
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Re: Site not completing orders

Post by PBR Streetgang »

Fixed it!
For some reason columns customers_country_id, delivery_country_id, and billing_country_id did not exist in my orders table. Created those table and it seems to be working now.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Site not completing orders

Post by heatherbell »

PBR Streetgang wrote: Thu Sep 14, 2023 1:06 pm Fixed it!
For some reason columns customers_country_id, delivery_country_id, and billing_country_id did not exist in my orders table. Created those table and it seems to be working now.
Exactly the same problem and solution as the post we previously advised you to look at on 31st July and again yesterday :roll:
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Re: Site not completing orders

Post by PBR Streetgang »

I appreciate all the advice and help. I've been dealing with other things and this was put back front and center yesterday.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply