• Resolved tonyart

    (@tonyart)


    I get this error at checkout in test mode “Sorry, we are unable to process your payment at this time. Please retry later.” In the woocommerce log display an error that says “India recurring payment mandates can only be requested for the following currencies: [inr, usd, eur, gbp, sgd, cad, chf, sek, aed, jpy, nok, myr, hkd]. ” but the problem is that the store is not in India is in Romania and the currency is “lei”. I talked with stripe support and they told me this is a plugin error and the only way to test it in test mode is if I change the currency to $ usd, this way it works. I need to test it in my currency. How do I fix this?

    • This topic was modified 10 months ago by tonyart.
Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello tonyart,

    Thank you for reaching out to WooCommerce support.

    I understand that you’re encountering an error at checkout in test mode with the message, “Sorry, we are unable to process your payment at this time. Please retry later.” and the WooCommerce log is indicating an issue with currency for India’s recurring payment mandates, despite your store being based in Romania and using the Romanian leu.

    It’s certainly peculiar that this error is occurring for a store not based in India and not using one of the listed currencies.

    To provide accurate assistance and resolve this issue promptly, I’ll need to take a closer look at your site’s configuration. Could you please send me a copy of your site’s System Status Report?

    You can obtain it by following these steps:
    1. Go to your WordPress dashboard
    2. Navigate to WooCommerce > Status.
    3. Click on the ‘Get system report’ button.
    4. Then click ‘Copy for support’.
    5. Paste this information into a new Gist at?https://gist.github.com.

    Once you have created the Gist, please paste the Gist link here in your reply.

    Once I have this information, I’ll be better positioned to help you troubleshoot this error and find an appropriate solution so you can proceed with testing payments in your preferred currency.

    Looking forward to your response. ??

    Thread Starter tonyart

    (@tonyart)

    At woocommerce > status, there are 4 tabs, System status, Tools, Logs and Scheduled Actions, in these tabs there is no ‘Get system report’ button

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there @tonyart,

    The system Status report should be available under the first tab ‘System Status’ like in the screenshot attached here: https://snipboard.io/kYr7oD.jpg

    Thread Starter tonyart

    (@tonyart)

    Somehow the button was hidden by code but I managed to display it, I copied the report here https://gist.github.com/artdesignstudio/9b084c2ed7e0a37bb55aaec1e92aaa08

    • This reply was modified 9 months, 4 weeks ago by tonyart.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @tonyart,

    Could you run a conflict test to help you identify the cause of the issue? Especially check by disabling the Country Based Payments for WooCommerce plugin. More info: https://woo.com/document/how-to-test-for-conflicts/

    Additionally, please can you share a copy of the following:

    • Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.

    You could copy and paste your reply or share it via Mozilla Community Pastebin and share the link here. This will help us investigate further and provide you with a more accurate solution.

    Let us know how that goes. Looking forward to helping you.

    Thread Starter tonyart

    (@tonyart)

    So I disabled all plugins except Woocommerce, Woo Subscriptions, WooCommerce All Products For Subscriptions, WooCommerce Stripe Gateway, and activated the default Twenty TwentyFour theme, but the error still shows the same, so I think its an issue with the WooCommerce Stripe Gatewayplugin

    this is the last log for woocommerce-gateway-stripe-2024-01-28-19cd24097b20b53a650e2266ea633b09.log after I disabled all plugins and activated the default theme, still says about indian currency

    https://paste.mozilla.org/QpgSiq0e

    and the last fatal error log, which I don’t think it helps since the process payment error still occurs after disabling plugins and switched to another theme

    https://paste.mozilla.org/gZy96SAS

    • This reply was modified 9 months, 4 weeks ago by tonyart.
    • This reply was modified 9 months, 4 weeks ago by tonyart.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @tonyart,

    Could you kindly resend the log again? It seems that we can’t access it anymore. Also, ensure that you set a longer expiration duration this time.

    I also noticed you are using an outdated version of Woo Subscriptions, WooCommerce All Products For Subscriptions, and other premium plugins. Could you please update all those plugins to the latest version and see whether the issue gets resolved?

    If the issue continues, please open a ticket from Woo.com > My profile > Support. Make sure to include a link to this thread, so we know what has been done already.

    Rest assured, I used the same plugin and theme on my testing site and couldn’t replicate your issue.

    Looking forward to hearing from you!

    Thread Starter tonyart

    (@tonyart)

    I installed a fresh new wordpress only with 4 plugins and a default theme, Woo All Products For Subscriptions, Woo Subscriptions, WooCommerce and WooCommerce Stripe Gateway. So your plugin its working fine if I purchase a product without subscription, on subscription I get the error

    Hi there @tonyart ??

    Thank you for reaching back, clarifying things further. It sounds like simple products go through Checkout just fine. The same is not true for subscription products, though.

    In order to isolate this further, kindly test with only the following 3 plugins active, and see if the issue persists with subscription products, or otherwise:

    Additionally, to get an idea of how the fresh site is configured, could you please share a copy of its System Status?

    Looking forward to hearing from you!

    Thread Starter tonyart

    (@tonyart)

    Its the same error if I deactivate the Woo All Products For Subscriptions

    Thread Starter tonyart

    (@tonyart)

    ` WordPress Environment
    
    WordPress address (URL): https://dev4.farmaciadedetergent.ro
    Site address (URL): https://dev4.farmaciadedetergent.ro
    WC Version: 8.5.2
    REST API Version: ? 8.5.2
    WC Blocks Version: ? 11.8.0-dev
    Action Scheduler Version: ? 3.7.1
    Log Directory Writable: ?
    WP Version: 6.4.3
    WP Multisite: –
    WP Memory Limit: 1 Go
    WP Debug Mode: –
    WP Cron: ?
    Language: ro_RO
    External object cache: – Server Environment
    
    Server Info: LiteSpeed
    PHP Version: 8.1.27
    PHP Post Max Size: 512 Mo
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.61.1
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 10.6.16-MariaDB
    Max Upload Size: 512 Mo
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database
    
    WC Database Version: 8.5.2
    WC Database Prefix: wp_
    Dimensiune total? baz? de date: 5.17MB
    Dimensiune date baz? de date: 3.47MB
    Dimensiune index baz? de date: 1.70MB
    wp_woocommerce_sessions: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_woocommerce_api_keys: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_woocommerce_attribute_taxonomies: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_woocommerce_downloadable_product_permissions: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_woocommerce_order_items: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_woocommerce_order_itemmeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_woocommerce_tax_rates: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_woocommerce_tax_rate_locations: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_woocommerce_shipping_zones: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_woocommerce_shipping_zone_locations: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_woocommerce_shipping_zone_methods: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_woocommerce_payment_tokens: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_woocommerce_payment_tokenmeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_woocommerce_log: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_actionscheduler_actions: Date: 0.02 MO + Index: 0.11 MO + Motor InnoDB
    wp_actionscheduler_claims: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_actionscheduler_groups: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_actionscheduler_logs: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_commentmeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_comments: Date: 0.02 MO + Index: 0.09 MO + Motor InnoDB
    wp_links: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_options: Date: 2.38 MO + Index: 0.06 MO + Motor InnoDB
    wp_postmeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_posts: Date: 0.06 MO + Index: 0.06 MO + Motor InnoDB
    wp_termmeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_terms: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_term_relationships: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_term_taxonomy: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_usermeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_users: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB
    wp_wc_admin_notes: Date: 0.06 MO + Index: 0.00 MO + Motor InnoDB
    wp_wc_admin_note_actions: Date: 0.05 MO + Index: 0.02 MO + Motor InnoDB
    wp_wc_category_lookup: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wc_customer_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_download_log: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_orders: Date: 0.02 MO + Index: 0.11 MO + Motor InnoDB
    wp_wc_orders_meta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_order_addresses: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_wc_order_coupon_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_order_operational_data: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_order_product_lookup: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_wc_order_stats: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB
    wp_wc_order_tax_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_product_attributes_lookup: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wc_product_download_directories: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wc_product_meta_lookup: Date: 0.02 MO + Index: 0.09 MO + Motor InnoDB
    wp_wc_rate_limits: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wc_reserved_stock: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wc_tax_rate_classes: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wc_webhooks: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB Post Type Counts
    
    attachment: 1
    page: 7
    post: 2
    product: 1
    shop_order_placehold: 7
    wp_navigation: 1
    wp_template: 2 Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (3)
    
    WooCommerce Stripe Gateway: de WooCommerce – 7.9.1
    Woo Subscriptions: de WooCommerce – 5.9.1
    WooCommerce: de Automattic – 8.5.2 Inactive Plugins (1)
    
    Woo All Products For Subscriptions: de Woo – 4.1.5 Settings
    
    API Enabled: –
    Force SSL: –
    Currency: RON (lei)
    Currency Position: right
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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 Woo.com: –
    Enforce Approved Product Download Directories: ?
    HPOS feature screen enabled: ?
    HPOS feature enabled: ?
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: – WC Pages
    
    Baz? magazin: #9 - /index.php/magazin/
    Co?: #10 - /index.php/cos/
    Finalizare: #11 - /index.php/finalizare/
    Contul meu: #12 - /index.php/contul-meu/
    Termeni ?i condi?ii: ? Pagin? nesetat? Theme
    
    Name: Twenty Twenty-Four
    Version: 1.0
    Author URL: https://www.remarpro.com
    Child Theme: ? – Dac? modifici WooCommerce ?ntr-o tem? p?rinte pe care nu ai construit-o personal recomand?m folosirea unei teme copil. Vezi: Cum creezi o tem? copil
    WooCommerce Support: ? Nedeclarat? Templates
    
    Overrides: – Subscriptions
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Live
    Subscriptions Live URL: https://dev4.farmaciadedetergent.ro
    Subscriptions-core Library Version: 6.7.1
    Subscription Statuses: wc-on-hold: 3
    WooCommerce Account Connected: ? No
    Report Cache Enabled: ? Yes
    Cache Update Failures: ? 0 failure Store Setup
    
    Country / State: Romania — Cluj Subscriptions by Payment Gateway
    
    Stripe: wc-on-hold: 3 Payment Gateway Support
    
    Stripe: products
    refunds
    tokenization
    add_payment_method
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    subscription_payment_method_change
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    multiple_subscriptions 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
    product-variation-management
    product-virtual-downloadable
    product-external-affiliate
    product-grouped
    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: customize-store
    minified-js
    new-product-management-experience
    product-linked
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2024-02-01 13:21:20 +00:00
    Options: ?
    Notes: 65
    Onboarding: - Action Scheduler
    
    Finalizeaz?: 23
    Oldest: 2024-01-31 13:22:32 +0000
    Newest: 2024-01-31 16:20:20 +0000
    
    E?uat?: 2
    Oldest: 2024-01-31 13:22:51 +0000
    Newest: 2024-01-31 15:08:02 +0000
    
    ?n a?teptare: 5
    Oldest: 2024-01-31 16:24:17 +0000
    Newest: 2024-02-01 13:22:32 +0000 Status report information
    
    Generated at: 2024-01-31 16:20:28 +00:00
    `
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @tonyart,

    Seems like we’ll need to have a closer look. Could you please open a ticket about this from Woo.com > My profile > Support?

    Make sure to include a link to this thread, so we know what has been done already.

    Thanks!

    Thread Starter tonyart

    (@tonyart)

    I don’t know if its a good temporary fix, but I comment out the line 674 ? return $mandate_options; from the file?/includes/compat/trait-wc-stripe-subscriptions.php and it works, maybe it will help you with the fix, becasue the error its something related to some conditions of indian currency

    • This reply was modified 9 months, 3 weeks ago by tonyart.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @tonyart,

    Your temporary fix by commenting out the line 674 return $mandate_options; from the file /includes/compat/trait-wc-stripe-subscriptions.php might be working for now, but we wouldn’t recommend it as a permanent solution.

    Our development team is always working on updates and fixes, and your feedback is valuable in helping us improve. We will certainly consider this issue in our future updates.

    In the meantime, we recommend keeping your WooCommerce and Stripe plugins up to date, as this may resolve your issue.

    Meanwhile, I will mark this thread as resolved. Should you have further inquiries, kindly create a new topic here.

    Thanks!

    Facing the same issue

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Sorry, we are unable to process your payment at this time. Please retry later.’ is closed to new replies.