404 error after customer makes a purchase
-
Hello,
When a customer makes a purchase via credit/debit card this 404 error pops up. The money will come through though but the customer often thinks payment has been unsuccessful and will sometimes make another then I have to refund one.
Does anyone have any idea why?
Seems to be fine with paypal.
Using either Stirpe or woocomerce does this, everything else works fine up to this point.
Thanks
The page I need help with: [log in to see the link]
-
Hi @zetheons,
Thanks for reaching out to us!
Let’s see if there is an error on the WooCommerce Logs. Kindly provide us the following:
- System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
- Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
Also, could you please send us screenshots of this error so we can investigate this further?
I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this chat. It works with Chrome, Firefox, Safari, and Edge browsers.
Cheers.
Hi thanks for your reply, hope this helps.
### WordPress Environment ###
WordPress address (URL): https://open1.uk
Site address (URL): https://open1.uk
WC Version: 5.6.0
REST API Version: ✔ 5.6.0
WC Blocks Version: ✔ 5.5.1
Action Scheduler Version: ✔ 3.2.1
WC Admin Version: ✔ 2.5.1
Log Directory Writable: ✔
WP Version: 5.8.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.23
PHP Post Max Size: 128 MB
PHP Time Limit: 120
PHP Max Input Vars: 1000
cURL Version: 7.68.0
OpenSSL/1.1.1fSUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.31-MariaDB-0ubuntu0.20.04.1
Max Upload Size: 128 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔### Database ###
WC Database Version: 5.6.0
WC Database Prefix: WMK9QqkDp_
Total Database Size: 39.91MB
Database Data Size: 36.12MB
Database Index Size: 3.79MB
WMK9QqkDp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
WMK9QqkDp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
WMK9QqkDp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
WMK9QqkDp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_actionscheduler_actions: Data: 0.16MB + Index: 0.19MB + Engine InnoDB
WMK9QqkDp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_actionscheduler_logs: Data: 0.13MB + Index: 0.13MB + Engine InnoDB
WMK9QqkDp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
WMK9QqkDp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
WMK9QqkDp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_newsletters: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
WMK9QqkDp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
WMK9QqkDp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
WMK9QqkDp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
WMK9QqkDp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
WMK9QqkDp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
WMK9QqkDp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_options: Data: 3.16MB + Index: 0.16MB + Engine InnoDB
WMK9QqkDp_postmeta: Data: 17.52MB + Index: 0.50MB + Engine InnoDB
WMK9QqkDp_posts: Data: 9.38MB + Index: 0.20MB + Engine InnoDB
WMK9QqkDp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_tinvwl_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_tinvwl_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_tinvwl_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
WMK9QqkDp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
WMK9QqkDp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
WMK9QqkDp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
WMK9QqkDp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
WMK9QqkDp_yoast_indexable: Data: 0.14MB + Index: 0.11MB + Engine InnoDB
WMK9QqkDp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
WMK9QqkDp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
WMK9QqkDp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
WMK9QqkDp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB### Post Type Counts ###
attachment: 124
custom_css: 3
customize_changeset: 16
et_body_layout: 12
et_footer_layout: 1
et_header_layout: 1
et_pb_layout: 25
et_template: 66
et_theme_builder: 4
mailpoet_page: 1
nav_menu_item: 20
page: 20
popup: 3
popup_theme: 16
post: 2
product: 3
product_variation: 7
revision: 479
shop_coupon: 1
shop_order: 60
shop_order_refund: 5
wplayouts-siteimport: 1### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔### Active Plugins (22) ###
Akismet Anti-Spam: by Automattic – 4.1.12
Breadcrumb NavXT: by John Havlik – 6.6.0
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.18.0
Google Listings and Ads: by WooCommerce – 1.4.3
Jetpack: by Automattic – 10.1
Mailchimp for WooCommerce: by Mailchimp – 2.5.2
MailPoet 3 (New): by MailPoet – 3.69.1
Popup Maker: by Popup Maker – 1.16.2
Side Cart WooCommerce: by XootiX – 2.1
TI WooCommerce Wishlist: by TemplateInvaders – 1.28.4
Under Construction: by WebFactory Ltd – 3.89
UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.16.61Woo Quick View: by Arshid – 1.1.0
Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.19
WooCommerce Stripe Gateway: by WooCommerce – 5.4.1
WooCommerce Payments: by Automattic – 2.9.1
WooCommerce PayPal Payments: by WooCommerce – 1.5.1
WooCommerce: by Automattic – 5.6.0
Yoast SEO: by Team Yoast – 17.1
WP Layouts: by WP Layouts – 0.6.9
WP-Optimize – Clean, Compress, Cache: by David Anderson
Ruhani Rabin
Team Updraft – 3.1.12WP-PageNavi: by Lester ‘GaMerZ’ Chan – 2.94.0
### Inactive Plugins (0) ###
### Dropin Plugins (1) ###
maintenance.php: maintenance.php
### Settings ###
API Enabled: –
Force SSL: –
Currency: GBP (£)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
### WC Pages ###
Shop base: #18 – /shop/
Basket: ❌ Page ID is set
but the page does not existCheckout: ❌ Page ID is set
but the page does not existMy account: ❌ Page ID is set
but the page does not existTerms and conditions: ❌ Page not set
### Theme ###
Name: Open1
Version: 1.0.3
Author URL: https://Open1.uk
Child Theme: ✔
Parent Theme Name: Divi
Parent Theme Version: 4.10.7
Parent Theme Author URL: http://www.elegantthemes.com
WooCommerce Support: ✔### Templates ###
Overrides: –
### WooCommerce PayPal Payments ###
Onboarded: Yes
Shop country code: GB
PayPal card processing available in country: Yes
Pay Later messaging available in country: Yes
Vault enabled: Yes### TI WooCommerce Wishlist Templates ###
Overrides: open1/woocommerce/ti-wishlist-empty.php version 1.21.11 is out of date. The core version is 1.25.5
### Action Scheduler ###
Complete: 483
Oldest: 2021-08-17 19:29:05 +0000
Newest: 2021-09-14 19:36:25 +0000Pending: 1
Oldest: 2021-09-20 21:36:07 +0000
Newest: 2021-09-20 21:36:07 +0000### Status report information ###
Generated at: 2021-09-14 21:27:11 +00:00
2021-08-25T00:47:27+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179
2021-08-25T00:47:30+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179
2021-08-25T00:47:31+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179
2021-08-25T00:47:32+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179
2021-08-25T00:47:37+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179
2021-08-25T00:47:38+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179
2021-08-25T00:47:39+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179
2021-08-25T00:48:21+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179
2021-08-25T00:48:21+00:00 CRITICAL syntax error, unexpected end of file in /var/www/vhosts/open1.uk/httpdocs/wp-content/themes/open1/functions.php on line 179`
Screenshot
snipboard.io/JTFSiQ.jpg
Thanks for getting back @zetheons.
The error logs seem to indicate an issue with your child theme’s functions.php. You’ll want to check closely the referenced line or any custom code you have added, especially on the use of closing tags.
As regards the 404 error, I see that you’re using our WooCommerce Stripe Gateway. Our Stripe team will be happy to probe the issue further, so, we kindly request that you post it on this forum – https://wordpress.org/support/plugin/woocommerce-gateway-stripe/.
We’ll be happy to be of further assistance.
Thanks.Hey so I only recently changed to stripe, to see if it would make a difference, it didn’t/ I was having this issue with woocomerce payments also.
Hi again,
It seems your Checkout page does not exist when checking your System Status. The
thankyoupage is part of the Checkout page and it’s automatically generated.
Follow this guide to recreate the Checkout page and you should no longer receive the “Page not found” error:
https://docs.woocommerce.com/document/woocommerce-pages/
Thanks.
-
This reply was modified 4 years, 8 months ago by
Mirko P..
Hi there,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
Thanks.
The topic ‘404 error after customer makes a purchase’ is closed to new replies.