SOFORT order-received ends in 404 not found
-
Thanks for providing such a great plugin! It works like charm. There is only one single payment option causing troubles.
How to reproduce:
- set up Woocommerce and WooCommerce Stripe-Gateway as usual with test or prod settings
- place an order with payment option “SOFORT”
- in test mode select “authorize payment” in the stripe payment mask
- the payment wents fine -> results in a processing status which is perfect
- the return URL ends in a 404 error
Some investigation
1. Switching the theme does not change the behaviour
2. The URL I am redirected to looks like this:
https://mydomain.ddev.site/checkout/order-received/143028/?client_secret=src_client_secret_OkRj5B37Lfx8V89rXqH3FHn9&key=wc_order_MGvnPFKTDlkGR&livemode=false&order_id=143028&redirect_status=succeeded&source=src_1IemrsFGopCiYgbE4bnfNZPL&utm_nooverride=1In case I remove the GET parameters “utm_nooverride” and “source” it will look like this and it will work:
A look into the log file shows the correct return URL:
[redirect] => Array ( [return_url] => https://mydomain.ddev.site/checkout/order-received/143028/?key=wc_order_MGvnPFKTDlkGR&utm_nooverride=1&order_id=143028 )
Thanks in advance!
### WordPress Environment ### WordPress address (URL): https://mydomain.ddev.site Site address (URL): https://mydomain.ddev.site WC Version: 5.1.0 REST API Version: ? 5.1.0 WC Blocks Version: ? 4.4.3 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.0.2 Log Directory Writable: ? WP Version: 5.7 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: ? WP Cron: ? Language: de_DE External object cache: – ### Server Environment ### Server Info: nginx/1.18.0 PHP Version: 7.3.25-1+0~20201130.73+debian10~1.gbp042074 PHP Post Max Size: 100 MB PHP Time Limit: 600 PHP Max Input Vars: 3000 cURL Version: 7.64.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.2.34-MariaDB-1:10.2.34+maria~bionic-log Max Upload Size: 100 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.0.0 WC Database Prefix: wp_ Datenbank-Gesamtgr??e: 59.13MB Datenbank-Datengr??e: 47.26MB Datenbank-Indexgr??e: 11.87MB wp_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.13MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.86MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 1.52MB + Index: 0.78MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 1.52MB + Index: 0.80MB + Engine InnoDB wp_borlabs_cookie_consent_log: Data: 1.52MB + Index: 0.28MB + Engine InnoDB wp_borlabs_cookie_content_blocker: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_borlabs_cookie_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_borlabs_cookie_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_borlabs_cookie_script_blocker: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.23MB + Index: 0.28MB + Engine InnoDB wp_ewwwio_images: Data: 0.41MB + Index: 0.45MB + Engine InnoDB wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_masterslider_options: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_masterslider_sliders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_options: Data: 2.28MB + Index: 0.06MB + Engine InnoDB wp_postmeta: Data: 10.48MB + Index: 3.02MB + Engine InnoDB wp_posts: Data: 4.48MB + Index: 2.17MB + Engine InnoDB wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.20MB + Index: 0.22MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.11MB + Index: 0.09MB + Engine InnoDB wp_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 8.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wfhoover: Data: 1.52MB + Index: 0.16MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.41MB + Index: 0.14MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.17MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_seo_meta: Data: 5.52MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 20 acf-field-group: 5 attachment: 111 businesshours: 4 event: 14 nav_menu_item: 23 page: 20 post: 1 product: 43 product_variation: 33 revision: 115 shop_coupon: 2 shop_order: 319 shop_order_refund: 1 shopmarketing: 3 source: 62 wafs: 2 wcpa_pt_forms: 1 woo_discount: 3 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (30) ### Query Monitor: von John Blackbourn – 3.6.7 Advanced Custom Fields: von Elliot Condon – 5.7.12 Akismet Anti-Spam: von Automattic – 4.1.2 Antispam Bee: von pluginkollektiv – 2.9.2 BE Portfolio Post: von Brandexponents – 1.1 Borlabs Cookie - Cookie Opt-in: von Benjamin A. Bornschein Borlabs – 2.1.15 Classic Editor: von WordPress-Mitwirkende – 1.4 Color Hub: von Brand Exponents – 1.0.4 Contact Form 7: von Takayuki Miyoshi – 5.1.1 Enable Media Replace: von ShortPixel – 3.3.1 EWWW Image Optimizer: von Exactly WWW – 5.2.3 Loco Translate: von Tim Whitlock – 2.2.2 Meta Box Conditional Logic: von Tan Nguyen – 1.3 Meta Box Show Hide: von Rilwis – 1.0.2 Meta Box Tabs: von Rilwis – 1.0.0 Oshine Core: von brandexponents team – 1.3.6 Oshine Modules: von Brand Exponents – 2.2.7 Regenerate Thumbnails: von Alex Mills (Viper007Bond) – 3.1.1 Slider Revolution: von ThemePunch – 5.4.7.3 Simple 301 Redirects: von Scott Nellé – 1.07 Social Pug: von DevPups Mihai Iova – 1.5.2 solid creation Helper: von Steve B?ttger – Tatsu: von Brand Exponents – 2.9.1.2 Type Hub: von Brand Exponents – 1.4 CTX Feed: von WebAppick – 4.3.63 Woocommerce Custom Product Addons: von Acowebs – 3.9.5 Woo Discount Rules: von Flycart Technologies LLP – 1.8.1 WooCommerce Advanced Free Shipping: von Jeroen Sormani – 1.1.4 WooCommerce Stripe Gateway: von WooCommerce – 5.1.0 WooCommerce: von Automattic – 5.1.0 ### Inactive Plugins (4) ### Better Search Replace: von Delicious Brains – 1.3.3 Gutenberg: von Gutenberg Team – 5.4.0 Master Slider Pro: von averta – 3.2.2 Wordfence Security: von Wordfence – 7.5.2 ### Dropin Plugins (1) ### db.php: Query Monitor Database Class ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) 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-Basis: #6 - /shop/ Warenkorb: #7 - /warenkorb/ Kasse: #8 - /checkout/ Mein Konto: #9 - /konto/ Allgemeine Gesch?ftsbedingungen: #1729 - /agb/ ### Theme ### Name: Oshin Child Version: 1.0 Author URL: Child Theme: ? Parent Theme Name: Oshin Parent Theme Version: 6.6.2 Parent Theme Author URL: https://www.brandexponents.com/ WooCommerce Support: ? ### Templates ### Overrides: oshin_child/woocommerce/archive-product.php oshin_child/woocommerce/cart/cart-totals.php oshin_child/woocommerce/checkout/form-billing.php oshin_child/woocommerce/checkout/form-login.php oshin_child/woocommerce/checkout/payment.php oshin_child/woocommerce/checkout/thankyou.php oshin_child/woocommerce/content-product.php oshin_child/woocommerce/content-single-product.php oshin_child/woocommerce/emails/customer-completed-order.php oshin_child/woocommerce/loop/add-to-cart.php oshin_child/woocommerce/myaccount/my-address.php oshin_child/woocommerce/myaccount/navigation.php oshin_child/woocommerce/single-product/meta.php oshin_child/woocommerce/single-product/price.php ### Action Scheduler ### Abgeschlossen: 2.815 Oldest: 2021-03-10 20:04:20 +0000 Newest: 2021-04-10 19:53:31 +0000 Fehlgeschlagen: 24 Oldest: 2020-09-30 06:36:49 +0000 Newest: 2021-03-18 10:52:19 +0000 Ausstehend: 4 Oldest: 2021-04-10 20:48:39 +0000 Newest: 2021-04-13 18:30:20 +0000 ### Status report information ### Generated at: 2021-04-10 21:04:33 +01:00
- The topic ‘SOFORT order-received ends in 404 not found’ is closed to new replies.