• The paypal standard integration was working but now it is not.

    Order confirmation returning 404 after making a Paypal Payment since it cant find the link below. After successful payment the order is still on hold and the order is left on the cart.

    Link:

    https://[mysite]/checkout/order-received/10099?key=wc_order_5860af4c2b1ab&utm_nooverride=1&amt=0.01&cc=USD&charset=windows-1252&cm=%7B%22order_id%22%3A10099%2C%22order_key%22%3A%22wc_order_5860af4c2b1ab%22%7D&st=Completed&tx=61H40500HF157445A

    Please help!

    TroubleShooting:

    1. Did a test payment with a BACS gateway and the order received page works
    2. Removed the additional string after the invoice number on paypal link – worked fine
    3. Untick forced checkout – did not work
    4. Function.php below – did not work as well

    function custom_rewrite_basic_wc() {
    add_rewrite_rule(‘^wc\-api/(.+)/?’, ‘index.php?wc-api=$matches[1]’, ‘top’);
    }
    add_action(‘init’, ‘custom_rewrite_basic_wc’);

    
    ### WordPress Environment ###
    
    WC Version: 2.6.11
    Log Directory Writable: ✔
    WP Version: 4.7
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: nginx/1.11.2
    PHP Version: 5.6.99-hhvm
    PHP Post Max Size: 
    PHP Time Limit: 0
    PHP Max Input Vars: 
    cURL Version: 7.47.0
    OpenSSL/1.0.2g
    
    SUHOSIN Installed: –
    Max Upload Size: 0 B
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.6.11
    : 
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    MaxMind GeoIP Database: ✔
    
    ### Active Plugins (13) ###
    
    Hide My WP: by AUB Media – 5.5.1
    Akismet: by Automattic – 3.2
    Icegram - Popups, Optins, CTAs & lot more...: by icegram – 1.10.1
    WPBakery Visual Composer: by Michael M - WPBakery.com – 5.0.1
    MailChimp for WordPress: by ibericode – 4.0.11
    OptionTree: by Derek Herman – 2.6.0
    SUMO Reward Points: by Fantastic Plugins – 15.8
    Tawk.to Live Chat: by Tawkto – 0.2.2
    Traveler-code: by Shinetheme – 1.4.0
    WooCommerce: by WooThemes – 2.6.11
    Yoast SEO: by Team Yoast – 4.0.2
    WordPress Social Login: by Miled – 2.3.0
    WP Smush: by WPMU DEV – 2.5.2
    
    ### Settings ###
    
    Force SSL: ✔
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ✔
    
    ### WC Pages ###
    
    Shop Base: ❌ Page ID is set
    but the page does not exist
    
    Cart: #5190 - /cart/
    Checkout: #5191 - /checkout/
    My Account: ❌ Page does not contain the shortcode: [woocommerce_my_account]
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Traveler
    Version: 1.3.0.2
    Author URL: http://www.shinetheme.com
    Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: traveler1302/woocommerce/archive-product.php
    traveler1302/woocommerce/cart/cart.php
    traveler1302/woocommerce/checkout/form-checkout.php
    traveler1302/woocommerce/checkout/form-coupon.php
    traveler1302/woocommerce/checkout/review-order.php
    traveler1302/woocommerce/checkout/thankyou.php
    traveler1302/woocommerce/content-product.php
    traveler1302/woocommerce/content-single-product.php
    traveler1302/woocommerce/content-widget-product.php
    traveler1302/woocommerce/global/breadcrumb.php
    traveler1302/woocommerce/global/sidebar.php
    traveler1302/woocommerce/loop/orderby.php
    traveler1302/woocommerce/loop/pagination.php
    traveler1302/woocommerce/loop/sale-flash.php
    traveler1302/woocommerce/order/order-details.php
    traveler1302/woocommerce/product-searchform.php
    traveler1302/woocommerce/single-product/sale-flash.php
    traveler1302/woocommerce/single-product/tabs/additional-information.php
    traveler1302/woocommerce/single-product/tabs/description.php
    traveler1302/woocommerce/single-product-reviews.php
    
    

The topic ‘Order confirmation returning 404 after making a Paypal Payme’ is closed to new replies.