Support » Plugin: WooCommerce » Test payment error

  • Resolved eviebpat

    (@eviebpat)


    Hi there

    I put my store into test mode and tried making a payment with a test credit card and got the following error:

    Error: No such payment_intent: ‘pi_3LDe0q2HBazcEqi21kIvUNcN’; a similar object exists in live mode, but a test mode key was used to make this request.

    Any idea what it means and how to fix it thanks?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Margaret S. woo-hc

    (@margaretwporg)

    Hi @eviebpat

    I understand you got this error when you tried making a payment with a test credit card.

    We would need a little more information to better understand the issue. Which plugin(s) are you employing for payments? Also, may I know which payment gateway are you using?

    It would be best if you can 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 eviebpat

    (@eviebpat)

    I’ve turned the test status off for now, but I’m using WooCommerce payments and PayPal. I was using the test credit card 4242 4242 4242 4242 in the debit card section when the error happened.

    Here is my status report, thanks:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.visitkeswickisland.com.au
    Site address (URL): https://www.visitkeswickisland.com.au
    WC Version: 6.6.1
    REST API Version: ✔ 6.6.1
    WC Blocks Version: ✔ 7.6.2
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.30
    PHP Post Max Size: 75 MB
    PHP Time Limit: 240
    PHP Max Input Vars: 1000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.38
    Max Upload Size: 75 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.6.1
    WC Database Prefix: wpq0_
    Total Database Size: 35.14MB
    Database Data Size: 21.65MB
    Database Index Size: 13.49MB
    wpq0_woocommerce_sessions: Data: 0.13MB + Index: 0.01MB + Engine MyISAM
    wpq0_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_order_itemmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpq0_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_actionscheduler_actions: Data: 0.95MB + Index: 0.41MB + Engine MyISAM
    wpq0_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_actionscheduler_logs: Data: 0.61MB + Index: 0.45MB + Engine MyISAM
    wpq0_automatewoo_abandoned_carts: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_automatewoo_customers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_automatewoo_customer_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_guests: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_guest_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_log_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_queue_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_referrals: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_referral_advocate_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_automatewoo_referral_invites: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_loginizer_logs: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    wpq0_mailpoet_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_dynamic_segment_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_feature_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_forms: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_log: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_mapping_to_external_entities: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_newsletters: Data: 0.21MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_newsletter_links: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    wpq0_mailpoet_newsletter_option: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_newsletter_option_fields: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_mailpoet_newsletter_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_newsletter_segment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_newsletter_templates: Data: 1.20MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_scheduled_tasks: Data: 0.20MB + Index: 0.06MB + Engine MyISAM
    wpq0_mailpoet_scheduled_task_subscribers: Data: 0.08MB + Index: 0.06MB + Engine MyISAM
    wpq0_mailpoet_segments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_mailpoet_sending_queues: Data: 0.25MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_settings: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_statistics_bounces: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_statistics_clicks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_statistics_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_statistics_newsletters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_statistics_opens: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_mailpoet_statistics_unsubscribes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_statistics_woocommerce_purchases: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_stats_notifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_subscribers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_mailpoet_subscriber_custom_field: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_subscriber_ips: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_subscriber_segment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_user_agents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_mailpoet_user_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_options: Data: 2.72MB + Index: 0.12MB + Engine MyISAM
    wpq0_postmeta: Data: 2.77MB + Index: 0.67MB + Engine MyISAM
    wpq0_posts: Data: 5.36MB + Index: 0.22MB + Engine MyISAM
    wpq0_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpq0_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    wpq0_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpq0_usermeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpq0_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_wcpv_commissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wcpv_per_product_shipping_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_wc_product_meta_lookup: Data: 0.03MB + Index: 0.05MB + Engine MyISAM
    wpq0_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wps_hit: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpq0_wps_index: Data: 6.51MB + Index: 10.56MB + Engine MyISAM
    wpq0_wps_key: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    wpq0_wps_object_term: Data: 0.38MB + Index: 0.51MB + Engine MyISAM
    wpq0_wps_object_type: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpq0_wps_query: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpq0_wps_shop: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpq0_wps_uri: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpq0_wps_user_agent: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 373
    aw_workflow: 1
    custom_css: 3
    customize_changeset: 14
    et_body_layout: 1
    et_pb_layout: 5
    et_template: 4
    et_theme_builder: 2
    mailpoet_page: 1
    nav_menu_item: 32
    page: 23
    post: 14
    product: 46
    product_variation: 478
    pscw-size-chart: 15
    revision: 662
    shop_coupon: 5
    shop_order: 6
    wlwl_email: 5
    woocarousel: 1
    wp_global_styles: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (28) ###
    
    AutomateWoo - Refer A Friend Add-on: by WooCommerce – 2.6.7
    AutomateWoo: by WooCommerce – 5.5.15
    Bulk Edit Products, Prices & Attributes for Woocommerce: by ELEXtensions – 1.1.0
    Child Theme Configurator: by Lilaea Media – 2.5.9
    Code Snippets: by Code Snippets Pro – 3.1.1
    Conditional Menus: by Themify – 1.2.0
    Dropshipping: by rushn.com – 1.0.16
    Kadence WooCommerce Email Designer: by Kadence WP – 1.5.2
    Loginizer: by Softaculous – 1.7.1
    Magni Image Flip for WooCommerce: by Magnigenie – 1.0
    MailPoet 3 Premium (New): by MailPoet – 3.91.0
    MailPoet 3 (New): by MailPoet – 3.91.0
    WooCommerce Product Carousel Slider: by AazzTech – 3.3.5
    Product Size Chart for WooCommerce: by VillaTheme – 1.0.11
    SVG Support: by Benbodhi – 2.4.2
    Tawk.to Live Chat: by Tawkto – 0.7.2
    Themify - WooCommerce Product Filter: by Themify – 1.3.9
    Lucky Wheel for WooCommerce: by VillaTheme – 1.0.16
    Additional Variation Images Gallery for WooCommerce: by Emran Ahmed – 1.3.5
    Variation Swatches for WooCommerce - Pro: by Emran Ahmed – 2.0.1
    Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.1
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.10
    WooCommerce Group Coupons: by itthinx – 1.24.1
    WooCommerce Payments: by Automattic – 4.3.0
    WooCommerce PayPal Payments: by WooCommerce – 1.8.1
    WooCommerce Product Vendors: by WooCommerce – 2.1.61
    WooCommerce Smart Coupons: by StoreApps – 5.6.0
    WooCommerce: by Automattic – 6.6.1
    
    ### Inactive Plugins (0) ###
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: AUD ($)
    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: ✔
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: #670 - /shop/
    Cart: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
    Checkout: #514 - /checkout/
    My account: #515 - /my-account/
    Terms and conditions: #545 - /terms/
    
    ### Theme ###
    
    Name: Divi Child
    Version: 4.17.4.1654053018
    Author URL: http://www.elegantthemes.com
    Child Theme: ✔
    Parent Theme Name: Divi
    Parent Theme Version: 4.17.4
    Parent Theme Author URL: http://www.elegantthemes.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: Divi/woocommerce/emails/customer-completed-order.php
    Divi/woocommerce/emails/customer-new-account.php
    Divi/woocommerce/emails/customer-processing-order.php
    /home/myfreesa/public_html/visitki/wp-content/plugins/woo-variation-gallery/templates/product-images.php
    /home/myfreesa/public_html/visitki/wp-content/plugins/woo-variation-gallery/templates/product-thumbnails.php
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ✔
    Shop country code: AU
    WooCommerce currency supported: ✔
    PayPal card processing available in country: ✔
    Pay Later messaging available in country: ✔
    Webhook status: –
    Vault enabled: ✔
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    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
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-06-24 00:45:29 +00:00
    Options: ✔
    Notes: 58
    Onboarding: completed
    
    ### WooCommerce Payments ###
    
    Version: 4.3.0
    Connected to WPCOM: Yes
    Blog ID: 199882344
    Account ID: acct_1JwGEz2HBazcEqi2
    
    ### Action Scheduler ###
    
    Canceled: 1
    Oldest: 2022-06-23 00:51:41 +0000
    Newest: 2022-06-23 00:51:41 +0000
    
    Complete: 3,002
    Oldest: 2022-05-25 00:16:16 +0000
    Newest: 2022-06-24 00:13:24 +0000
    
    Failed: 16
    Oldest: –
    Newest: –
    
    Pending: 1
    Oldest: 2022-06-24 23:50:50 +0000
    Newest: 2022-06-24 23:50:50 +0000
    
    ### Smart Coupons related settings ###
    
    Number of coupons to show: 1
    Number of characters in auto-generated coupon code: 
    Valid order status for auto-generating coupon: processing
    completed
    
    Include tax in the amount of the generated gift card: no
    Deduct credit/gift before doing tax calculations: no
    Gift Card discount is inclusive of tax: no
    Automatic deletion: no
    Coupon emails: yes
    Printing coupons: yes
    Sell gift cards at less price?: yes
    Use gift card applied in first subscription order for subsequent renewals until credit reaches zero: yes
    Renewal orders should not generate coupons even when they include a product that issues coupons: no
    Allow sending of coupons to others: yes
    Allow schedule sending of coupons?: yes
    Combine emails: yes
    Auto generated coupon email: yes
    Combined auto generated coupons email: yes
    Acknowledgement email: yes
    Enable taxes: yes
    Prices entered with tax: yes
    Rounding: yes
    Display prices in the shop: incl
    Display prices during cart and checkout: incl
    Display tax totals: single
    Enable the use of coupon codes: yes
    Calculate coupon discounts sequentially: yes
    Account endpoints > Coupons: wc-smart-coupons
    
    ### Status report information ###
    
    Generated at: 2022-06-24 00:20:33 +00:00
    
    Roxanne S.

    (@roxannestoltz)

    Hi @eviebpat ,

    Thanks for providing the Status report!

    It appears that this error is coming from WooCommerce Payments, more specifically Stripe.

    Kindly contact WooCommerce.com > My Account > Support for support with this extension. Please create the ticket using the account that you purchased the extension.

    Feel free to include a link to this forum topic on the ticket, so that they can use this topic as a reference.

    They will help you out further there!

    Hope this helps 🙂

    Thread Starter eviebpat

    (@eviebpat)

    I didn’t purchase the extension…

    Thread Starter eviebpat

    (@eviebpat)

    Thanks though. I’ll submit a ticket. 🙂

    Thread Starter eviebpat

    (@eviebpat)

    I found I had Apple/Google pay Stripe selected in my settings and unchecked it. All working fine now 🙂

    Plugin Support Mashi (woo-hc)

    (@shaonback2)

    Hello @eviebpat!

    I found I had Apple/Google pay Stripe selected in my settings and unchecked it. All working fine now 🙂

    Glad to hear it – thanks for letting us know!
    If you have any further questions, please consider creating a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.