Test Mode works; Live Mode gives error
-
I’ve configured WooCommerce with Stripe and successfully created an order using test configuration.
I’ve since disabled test mode and supplied the Live API Key and Secret, as well as the Webhook secret for a webhook on my domain.
When I add a product to my cart and check out with a live credit card, I get the following error on my cart which is blocking the transaction from going through:
No such customer: cus_GBfHuIDepDeuBT; a similar object exists in test mode, but a live mode key was used to make this request.I found a thread which mentions this could happen if using the same email address on a live transaction as was used on a test transaction. However, I’ve tried other email addresses and also gone to the stripe admin to purge the test data customer (no customers in there currently)
status:
–### WordPress Environment ### WordPress address (URL): https://dev.dizwire.com Site address (URL): https://dev.dizwire.com WC Version: 3.8.0 REST API Version: ? 1.0.2 Log Directory Writable: ? WP Version: 5.3 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.2.24 PHP Post Max Size: 65 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.58.0 OpenSSL/1.1.1 SUHOSIN Installed: – MySQL Version: 5.7.25-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: 3.8.0 WC Database Prefix: wp_phhgnx_ MaxMind GeoIP Database: ? Total Database Size: 5.54MB Database Data Size: 3.92MB Database Index Size: 1.62MB wp_phhgnx_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_phhgnx_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_phhgnx_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_phhgnx_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_phhgnx_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_comments: Data: 0.14MB + Index: 0.22MB + Engine InnoDB wp_phhgnx_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_phhgnx_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_phhgnx_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_phhgnx_masterslider_options: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_masterslider_sliders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_options: Data: 2.06MB + Index: 0.08MB + Engine InnoDB wp_phhgnx_postmeta: Data: 0.52MB + Index: 0.14MB + Engine InnoDB wp_phhgnx_posts: Data: 0.27MB + Index: 0.09MB + Engine InnoDB wp_phhgnx_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_phhgnx_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_phhgnx_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_phhgnx_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_phhgnx_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_phhgnx_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_phhgnx_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_phhgnx_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_phhgnx_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_phhgnx_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (22) ### Contact Form 7: by Takayuki Miyoshi – 5.1.5 Deux Portfolio: by QedQod – 1.0.0 Deux Shortcode: by QedQod – 1.0.7 Duplicate Post: by Enrico Battocchi – 3.2.3 Flickr Album Gallery: by FARAZFRANK – 2.0.9 Jetpack by WordPress.com: by Automattic – 7.9 WPBakery Page Builder: by Michael M - WPBakery.com – 6.0.2 Kirki Customizer Framework: by Ari Stathopoulos (@aristath) – 3.0.45 Mailchimp for WooCommerce: by Mailchimp – 2.3 – Not tested with the active version of WooCommerce MC4WP: Mailchimp for WordPress: by ibericode – 4.7 Master Slider Pro: by averta – 3.2.14 Meta Box: by MetaBox.io – 5.2.3 One Click Demo Import: by ProteusThemes – 2.5.2 WooCommerce Variation Swatches: by ThemeAlien – 1.0.4 – Not tested with the active version of WooCommerce WooCommerce Admin: by WooCommerce – 0.22.0 – Not tested with the active version of WooCommerce WOOCS - WooCommerce Currency Switcher: by realmag777 – 1.3.0 – Not tested with the active version of WooCommerce WooCommerce Stripe Gateway: by WooCommerce – 4.3.1 – Not tested with the active version of WooCommerce WooCommerce Refund & Exchange With RMA: by makewebbetter – 2.1.4.1 – Not tested with the active version of WooCommerce WooCommerce Services: by Automattic – 1.22.1 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.8.0 YITH WooCommerce Compare: by YITH – 2.3.16 – Not tested with the active version of WooCommerce YITH WooCommerce Wishlist: by YITH – 2.2.16 – Not tested with the active version of WooCommerce ### Inactive Plugins (2) ### Akismet Anti-Spam: by Automattic – 4.1.3 Duplicator: by Snap Creek – 1.3.24 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) 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: ? ### WC Pages ### Shop base: #12 - /shop/ Cart: #13 - /cart/ Checkout: #14 - /checkout/ My account: #15 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Deux Child Version: 1.0.0 Author URL: https://example.com Child Theme: ? Parent Theme Name: Deux Parent Theme Version: 1.2.15 Parent Theme Author URL: https://qedqod.com/ WooCommerce Support: ? ### Templates ### Overrides: deux/woocommerce/cart/cart-shipping.php deux/woocommerce/cart/cart.php deux/woocommerce/cart/mini-cart.php deux/woocommerce/checkout/form-checkout.php deux/woocommerce/checkout/form-coupon.php deux/woocommerce/checkout/form-login.php deux/woocommerce/checkout/review-order.php deux/woocommerce/global/form-login.php deux/woocommerce/global/quantity-input.php deux/woocommerce/global/wrapper-end.php deux/woocommerce/global/wrapper-start.php deux/woocommerce/loop/add-to-cart.php deux/woocommerce/loop/price.php deux/woocommerce/loop/result-count.php deux/woocommerce/myaccount/dashboard.php deux/woocommerce/myaccount/form-edit-account.php deux/woocommerce/myaccount/form-login.php deux/woocommerce/myaccount/my-address.php deux/woocommerce/notices/error.php deux/woocommerce/notices/success.php deux/woocommerce/order/form-tracking.php deux/woocommerce/single-product/add-to-cart/external.php deux/woocommerce/single-product/add-to-cart/grouped.php deux/woocommerce/single-product/add-to-cart/simple.php deux/woocommerce/single-product/add-to-cart/variable.php deux/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php deux/woocommerce/single-product/meta.php deux/woocommerce/single-product/product-image.php deux/woocommerce/single-product/product-thumbnails.php deux/woocommerce/single-product/rating.php deux/woocommerce/single-product/review-meta.php deux/woocommerce/single-product/tabs/additional-information.php deux/woocommerce/single-product/tabs/tabs.php deux/woocommerce/single-product-reviews.php ### Action Scheduler ### Complete: 118 Oldest: 2019-10-17 01:16:49 +0000 Newest: 2019-11-16 04:37:27 +0000 Pending: 2 Oldest: 2019-11-16 04:44:54 +0000 Newest: 2019-11-16 04:44:54 +0000 Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
The page I need help with: [log in to see the link]
- The topic ‘Test Mode works; Live Mode gives error’ is closed to new replies.