• Resolved soho79

    (@soho79)


    Hello,
    I installed Stripe Bancontact for my customer on his Woocommerce site. When I launch the Bancontact payment, I arrive on the correct Stripe Bancontact page. If I cancel my payment, I get a page that confirms my payment and not the page that tells me that the payment has been cancelled. I’ve contacted Stripe and they tell me that everything is working for them and that I need to check this with Woocommerce.
    Can you help me with this problem?
    Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there @soho79 👋

    Bancontact payment cancellation

    Thank you for your patience! We are experiencing an unusually high volume of support requests at the moment, and that has affected our response times.

    As I understand, Bancontact is not behaving as expected, when cancelling a payment with it, at your client’s store. Correct?

    Just to confirm, have you followed all the required steps for setting up the Stripe plugin, as outlined here, including step 13 on webhooks?

    Step 11, from the same set-up instructions, details how to enable error logging. Kindly make sure it is enabled, as it will come in handy in troubleshooting this issue.

    Furthermore, just to clarify, are things working as expected when test mode is activated, or otherwise?

    Please let us know if you have any further questions about this matter, or if we misinterpret your concern in any way. We will be happy to help you further.

    Thread Starter soho79

    (@soho79)

    Hi,

    Yes, Bancontact is not behaving as expected, when cancelling a payment with it, at my client’s store.

    I have all the good webhooks in my endpoint. It’s not working as expected neither in test mode.

    When I cancel my Bancontact payment I can see the Stripe url :
    https://hooks.stripe.com/redirect/complete/?client_secret=src_client_secret_redirect_status=failed
    This URL seems to be good.

    But after this page I arrive on a wrong Woocommerce url:
    https://www.kivugin.com/resume/resume/12300/?client_secret=src_client_secret_&key=wc_order_&livemode=true&order_id=&redirect_status=failed&source=src_&utm_nooverride=1
    This url is wrong because it’s the “Thanks buying” Woocommecre page with my order summary.

    Thanks

    Saif

    (@babylon1999)

    Hello @soho79,

    The link is correct, but the customer shouldn’t be greeted with the order details, instead, they should get an error message saying the link expired.


    Link to image: https://d.pr/i/7utkqF

    Could you please attach a copy of your site’s System Status report? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Look forward to hearing back from you.

    Thread Starter soho79

    (@soho79)

    On my others Woocommerce websites, when I cancel a Bancontact payment I automatically go back to the checkout page with a specific message “Unable to process this payment, please try again or use alternative method.” Unfortunately it’s not working for Kivu Gin website.

    Regards

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.kivugin.com
    Site address (URL): https://www.kivugin.com
    WC Version: 7.9.0
    REST API Version: ✔ 7.9.0
    WC Blocks Version: ✔ 10.4.6
    Action Scheduler Version: ✔ 3.6.1
    Log Directory Writable: ✔
    WP Version: 6.2.2
    WP Multisite: –
    WP Memory Limit: 512 Mo
    WP Debug Mode: –
    WP Cron: ✔
    Language: fr_FR
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 8.0.28
    PHP Post Max Size: 130 Mo
    PHP Time Limit: 165
    PHP Max Input Vars: 16000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.42-log
    Max Upload Size: 128 Mo
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 7.9.0
    WC Database Prefix: wor4717_
    Taille totale de la base de données: 98.41MB
    Taille de la base de données: 87.98MB
    Taille de l’index: 10.43MB
    wor4717_woocommerce_sessions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wor4717_woocommerce_order_items: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_woocommerce_order_itemmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wor4717_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    mod13_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    mod13_comments: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB
    mod13_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    mod13_options: Données : 0.16MB + Index : 0.03MB + Moteur InnoDB
    mod13_postmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    mod13_posts: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    mod13_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    mod13_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    mod13_term_relationships: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    mod13_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    mod13_usermeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    mod13_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wor3650_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor3650_comments: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB
    wor3650_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor3650_options: Données : 1.52MB + Index : 0.03MB + Moteur InnoDB
    wor3650_postmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor3650_posts: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wor3650_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor3650_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor3650_term_relationships: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor3650_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor3650_usermeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor3650_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wor4717_actionscheduler_actions: Données : 0.05MB + Index : 0.11MB + Moteur InnoDB
    wor4717_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_actionscheduler_logs: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_cky_banners: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB
    wor4717_cky_cookies: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_cky_cookie_categories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_comments: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
    wor4717_e_events: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_e_notes: Données : 0.02MB + Index : 0.17MB + Moteur InnoDB
    wor4717_e_notes_users_relations: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wor4717_e_submissions: Données : 0.02MB + Index : 0.27MB + Moteur InnoDB
    wor4717_e_submissions_actions_log: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB
    wor4717_e_submissions_values: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_icl_background_task: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_icl_content_status: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_icl_core_status: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_icl_flags: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_icl_languages: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_icl_languages_translations: Données : 0.19MB + Index : 0.09MB + Moteur InnoDB
    wor4717_icl_locale_map: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_icl_message_status: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_icl_mo_files_domains: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_icl_node: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_icl_reminders: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_icl_strings: Données : 2.42MB + Index : 4.34MB + Moteur InnoDB
    wor4717_icl_string_batches: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_icl_string_packages: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_icl_string_positions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_icl_string_status: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_icl_string_translations: Données : 0.06MB + Index : 0.03MB + Moteur InnoDB
    wor4717_icl_translate: Données : 2.50MB + Index : 0.05MB + Moteur InnoDB
    wor4717_icl_translate_job: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_icl_translations: Données : 0.05MB + Index : 0.06MB + Moteur InnoDB
    wor4717_icl_translation_batches: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_icl_translation_downloads: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_icl_translation_status: Données : 1.23MB + Index : 0.02MB + Moteur InnoDB
    wor4717_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_options: Données : 7.03MB + Index : 0.14MB + Moteur InnoDB
    wor4717_postmeta: Données : 56.17MB + Index : 1.80MB + Moteur InnoDB
    wor4717_posts: Données : 14.36MB + Index : 0.33MB + Moteur InnoDB
    wor4717_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_term_relationships: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_tm_taskmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_tm_tasks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_toolset_associations: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wor4717_toolset_connected_elements: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_toolset_post_guid_id: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_toolset_relationships: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB
    wor4717_toolset_type_sets: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_usermeta: Données : 0.08MB + Index : 0.03MB + Moteur InnoDB
    wor4717_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wor4717_wc_admin_notes: Données : 0.06MB + Index : 0.00MB + Moteur InnoDB
    wor4717_wc_admin_note_actions: Données : 0.05MB + Index : 0.02MB + Moteur InnoDB
    wor4717_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_wc_customer_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_wc_order_product_lookup: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wor4717_wc_order_stats: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wor4717_wc_order_tax_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_wc_product_attributes_lookup: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_wc_product_download_directories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_wc_product_meta_lookup: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
    wor4717_wc_rate_limits: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wor4717_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_yoast_indexable: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
    wor4717_yoast_indexable_hierarchy: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wor4717_yoast_migrations: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wor4717_yoast_primary_term: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wor4717_yoast_seo_links: Données : 0.06MB + Index : 0.03MB + Moteur InnoDB
    
    ### Post Type Counts ###
    
    attachment: 137
    custom_css: 1
    customize_changeset: 20
    elementor_font: 2
    elementor_library: 29
    nav_menu_item: 12
    page: 26
    post: 4
    product: 2
    product_variation: 4
    revision: 1081
    shop_order: 2
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (20) ###
    
    WPML Multilingual CMS: par OnTheGoSystems – 4.6.4
    WPML SEO: par OnTheGoSystems – 2.1.0
    CMP - Coming Soon & Maintenance Plugin: par NiteoThemes – 4.1.9
    CookieYes | GDPR Cookie Consent: par CookieYes – 3.1.1
    Yoast Duplicate Post: par Enrico Battocchi & l’équipe Yoast – 4.5
    Elementor Pro: par Elementor.com – 3.14.1
    Elementor: par Elementor.com – 3.14.1
    Premium Addons for Elementor: par Leap13 – 4.10.3
    Premium Addons PRO: par Leap13 – 2.9.2
    Really Simple SSL: par Really Simple Plugins – 7.0.7
    UpdraftPlus - Sauvegarde/Restauration: par UpdraftPlus.Com
    DavidAnderson – 1.23.7
    
    Quantity Plus Minus Button for WooCommerce by CodeAstrology: par CodeAstrology Team – 1.1.7
    WooCommerce Stripe Gateway: par WooCommerce – 7.4.1
    WooCommerce Multilingual & Multicurrency: par OnTheGoSystems – 5.2.0
    WooCommerce: par Automattic – 7.9.0
    Yoast SEO: par L’équipe Yoast – 20.12
    WP BrowserUpdate: par Marco Steinbrecher – 4.6.2
    WP Custom Admin Interface: par Martin Gibson – 7.30
    WP-Optimize - Nettoyer, compresser, mettre en cache.: par David Anderson
    Ruhani Rabin
    équipe Updraft – 3.2.16
    
    WPML String Translation: par OnTheGoSystems – 3.2.6
    
    ### Inactive Plugins (0) ###
    
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (1) ###
    
    Elementor Safe Mode: par Elementor.com – 1.0.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right_space
    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: –
    Enforce Approved Product Download Directories: ✔
    HPOS feature screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### WC Pages ###
    
    Base de la boutique: ❌ La visibilité de la page doit être publique
    Panier: ❌ La page ne contient pas le code court [woocommerce_cart] ou le bloc woocommerce/cart.
    Commander: ❌ La page ne contient pas le code court [woocommerce_checkout] ou le bloc woocommerce/checkout.
    Mon compte: ❌ La visibilité de la page doit être publique
    Conditions générales de vente et d’utilisation: #7857 - /conditions-generales/
    
    ### Theme ###
    
    Name: Hello Elementor Child
    Version: 1.0.1
    Author URL: https://elementor.com/
    Child Theme: ✔
    Parent Theme Name: Hello Elementor
    Parent Theme Version: 2.8.1
    Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    product-variation-management
    settings
    async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2023-07-30 07:39:54 +02:00
    Options: ✔
    Notes: 65
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Terminé: 68
    Oldest: 2023-07-05 09:40:02 +0200
    Newest: 2023-07-29 15:51:40 +0200
    
    Échoué: 3
    Oldest: 2023-07-05 09:42:53 +0200
    Newest: 2023-07-07 18:11:03 +0200
    
    En attente: 1
    Oldest: 2023-07-30 12:41:14 +0200
    Newest: 2023-07-30 12:41:14 +0200
    
    
    ### Status report information ###
    
    Generated at: 2023-07-29 15:58:08 +02:00
    `
    Saif

    (@babylon1999)

    Thank you for sharing the logs!

    On my others Woocommerce websites, when I cancel a Bancontact payment I automatically go back to the checkout page with a specific message “Unable to process this payment, please try again or use alternative method.” Unfortunately it’s not working for Kivu Gin website.

    That’s not the case on my site, perhaps because I’m in test mode. :‎)

    I noticed all of your WooCommerce pages are missing the default shortcodes. This could be due to another plugin/theme overriding their behaviour.

    Please make sure the cart and checkout pages have the corresponding shortcodes [woocommerce_cart], [woocommerce_checkout]. Then, navigate to WooCommerce > Settings > Advance and check if the same pages are assigned as cart and checkout.


    Link to image: https://d.pr/i/CZaVxJ

    If everything is configured properly, please try disabling all plugins except WooCommerce/Stripe and activating the default Storefront theme.

    If the problem is not present after doing so, then you know there was a plugin conflict. You can enable plugins one by one again to find the culprit.

    Let us know how it goes!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Bancontact payment cancellation’ is closed to new replies.