• Resolved motasemabudahab

    (@motasemabudahab)


    Hi
    I am running this plugin on a woocommerce installation at a subdomain:
    https://jo.readerseditions.com/
    I am using single currency on this installation that is JOD (Jordanian Dinars)
    I am doing live test orders on the website I am having the problem that the checkout total amount at the shopping cart is different than the payment processed at Stripe.
    For example, I made an order with 13 JOD total while the amount processed at Stripe was 1.3 JD
    Also, made another with 23 JOD total while the amount processed at Stripe was 2.3 JD

    Can anybody help me solve this issue?

    Thank you very much

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,
    Did you try in stripe test mode before doing live mode?
    Did you have the same problem in stripe test mode?

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Could you please share a copy of your site’s 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.

    Thread Starter motasemabudahab

    (@motasemabudahab)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://jo.readerseditions.com
    Site address (URL): https://jo.readerseditions.com
    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.2
    WP Multisite: –
    WP Memory Limit: ? 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.20
    PHP Post Max Size: 64 MB
    PHP Time Limit: 50000
    PHP Max Input Vars: 5000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.33-log
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.1.0
    WC Database Prefix: wp_dav
    Total Database Size: 6.98MB
    Database Data Size: 5.18MB
    Database Index Size: 1.80MB
    wp_davwoocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davwoocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwoocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davwoocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_davwoocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davwoocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwoocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_davwoocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwoocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_davwoocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwoocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_davwoocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davwoocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwoocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davactionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_davactionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davactionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davactionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davcommentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davcomments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_davduplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davlinks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davmailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_davmailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_davoptions: Data: 2.23MB + Index: 0.08MB + Engine InnoDB
    wp_davpostmeta: Data: 1.52MB + Index: 0.36MB + Engine InnoDB
    wp_davposts: Data: 0.52MB + Index: 0.06MB + Engine InnoDB
    wp_davtermmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davterms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davterm_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davterm_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davusermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davusers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_davwc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_davwc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davwc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_davwc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_davwc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_davwc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_davwc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_davwc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_davwc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_davwc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 156
    custom_css: 1
    customize_changeset: 8
    nav_menu_item: 20
    page: 9
    post: 2
    product: 116
    revision: 128
    shop_order: 10
    wa-order-numbers: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (16) ###
    
    Creative Mail by Constant Contact: by Constant Contact – 1.3.5
    Duplicator: by Snap Creek – 1.3.22
    Facebook for WooCommerce: by Facebook – 2.3.4
    Jetpack by WordPress.com: by Automattic – 9.5
    Google Ads & Marketing by Kliken: by Kliken – 1.0.7
    Mailchimp for WooCommerce: by Mailchimp – 2.5.1
    OneClick Chat to Order: by Walter Pinem – 1.0.4.1
    Product CSV Import Export (BASIC): by WebToffee – 1.9.1
    Storefront Hamburger Menu: by WooThemes – 1.2.0
    Storefront Mega Menus: by WooThemes – 1.3.4
    Storefront Powerpack: by WooThemes – 1.2.0
    Storefront Pro: by pootlepress – 5.7.3
    Woo Checkout Field Editor Pro: by ThemeHiGH – 1.2.6
    WooCommerce Stripe Gateway: by WooCommerce – 5.2.3
    WooCommerce Shipping & Tax: by Automattic – 1.25.10 (update to version 1.25.15 is available)
    WooCommerce: by Automattic – 5.1.0 (update to version 5.4.1 is available)
    
    ### Inactive Plugins (7) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.9
    Gutenberg: by Gutenberg Team – 10.2.1
    Hello Dolly: by Matt Mullenweg – 1.7.2
    Stripe For WooCommerce: by Payment Plugins
    [email protected] – 3.3.4
    
    WooCommerce Extra Fees Plugin: by theDotstore – 3.6.3
    WooCommerce Smart COD: by woosmartcod.com – 1.6.1
    WOOCS - WooCommerce Currency Switcher: by realmag777 – 2.3.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: JOD (JD)
    Currency Position: left_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 3
    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: #13 - /
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Storefront
    Version: 3.5.1 (update to version 3.7.0 is available)
    Author URL: https://woocommerce.com/
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 29
    Oldest: 2021-06-22 01:37:50 +0000
    Newest: 2021-07-03 10:47:09 +0000
    
    Pending: 1
    Oldest: 2021-07-03 15:01:46 +0000
    Newest: 2021-07-03 15:01:46 +0000
    
    ### Status report information ###
    
    Generated at: 2021-07-03 12:20:32 +00:00
    
    Thread Starter motasemabudahab

    (@motasemabudahab)

    Thank you for your reply.
    The Stripe test mode is not working.
    When I switch to test mode, the fields for entering the Publishable Key and Secret Key become disabled. And also the Stripe payment option disappears from the checkout page.

    Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hello @motasemabudahab,

    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thanks!

    Thread Starter motasemabudahab

    (@motasemabudahab)

    I have tested the plugin with AED, SAR, and GBP currencies and all worked perfectly.
    The problem is with certain currencies (JOD in my case). This can’t be plugins conflict issue, if it was it should be a problem with all currencies.

    How can I multiply the amount request for processing by 10 times? Is there a code fix that you can provide me with to do that?

    The problem has to do with the decimal.
    When the cart total is JOD 13 the request amount is JOD 1.3
    When the cart total is JOD 23 the request for JOD 2.3

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    It sounds like you’re using a switcher plugin, like this one:WOOCS – WooCommerce Currency Switcher: by realmag777 – 2.3.2

    Is that the case?

    Thread Starter motasemabudahab

    (@motasemabudahab)

    Hi
    I have WOOCS – WooCommerce Currency Switcher: by realmag777 – 2.3.2 installed but it is de-activated.
    I have also deleted it entirely and did another test and the problem is the same.
    I have contacted Stripe regarding this issue and they said that payment requests for BHD, JOD, KWD, OMR, and TND currencies should be sent to their system in 3 decimal. For example, 13 should be request as 13000 while your plugin is requesting 1300 only which results in 1.3 JOD not 13.
    Can you provide with a code fix for this?

    Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hello @motasemabudahab,

    We would like to investigate the issue further. Please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

    Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘The amount processed at Stripe is different that the amount at checkout’ is closed to new replies.