WooCommerce Declining CCards
-
Hello,
We’re back. The issue we have is that Square used to work (October 31st) and no longer processes any credit cards. While it appears we can enter the information for the credit card, when we submit payment for a text order it fails.
The error in WooCommerce shows that the card(s) are declined. We’ve used the cards previously with Square (in OCT), and they are ALL Valid cards.
Here’s a link to our previous thread which was closed prematurely without resolution.
https://www.ads-software.com/support/topic/all-cards-getting-declined-also/Let us know what the next steps are to get this running. We’re stuck in the mud with the plugin still not working.
Thanks.
-
While it appears we can enter the information for the credit card, when we submit payment for a text order it fails.
The error in WooCommerce shows that the card(s) are declined.
Can you please share the error logs with us so we can take a look at the exact errors that are showing when trying to process payments.
Is this what you need?
### WordPress Environment ### WordPress address (URL): https://primebattery.com Site address (URL): https://primebattery.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/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.24 mod_jk/1.2.41 PHP Version: 7.2.24 PHP Post Max Size: 40 MB PHP Time Limit: 300 PHP Max Input Vars: 4000 cURL Version: 7.29.0 NSS/3.44 SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.41-MariaDB Max Upload Size: 40 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_ MaxMind GeoIP Database: ? Total Database Size: 77.07MB Database Data Size: 63.95MB Database Index Size: 13.12MB wp_woocommerce_sessions: Data: 3.02MB + Index: 1.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_entry_meta: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_itsec_logs: Data: 53.59MB + Index: 7.05MB + Engine InnoDB wp_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_iwp_backup_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_iwp_file_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_iwp_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 2.05MB + Index: 0.13MB + Engine InnoDB wp_postmeta: Data: 2.52MB + Index: 2.98MB + Engine InnoDB wp_posts: Data: 1.39MB + Index: 0.28MB + Engine InnoDB wp_realmedialibrary: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_realmedialibrary_debug: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_realmedialibrary_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_realmedialibrary_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rg_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rg_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rg_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rg_lead: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_rg_lead_detail: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_rg_lead_detail_long: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rg_lead_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_rg_lead_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (34) ### InfiniteWP - Client: by Revmakx – 1.9.4.2 Query Monitor: by John Blackbourn – 3.4.0 Gravity Forms: by rocketgenius – 2.4.15 Advanced Custom Fields: Gravity Forms Field: by @adam_pope of @stormuk – 1.1.0 ACF Content Analysis for Yoast SEO: by Thomas Kr?ftner ViktorFroberg marol87 pekz0r angrycreative Team Yoast – 2.3.0 ACF Flexible Content Modal: by Edir Pedro – 1.2.3 Advanced Custom Fields: Menu Chooser: by Reyhoun – 1.1.0 Advanced Custom Fields: Sidebar Selector: by Daniel Pataki – 3.0.0 Advanced Custom Fields: Color Swatches: by Nick Ford – 1.0.7 Advanced Custom Fields: Font Awesome: by mattkeys – 3.1.1 Advanced Custom Fields PRO: by Elliot Condon – 5.8.7 iThemes Security: by iThemes – 7.5.0 Classic Editor: by WordPress Contributors – 1.5 Custom Order Numbers for WooCommerce: by Tyche Softwares – 1.2.9 – Not tested with the active version of WooCommerce Custom Post Type UI: by WebDevStudios – 1.7.1 Disable Emojis (GDPR friendly): by Ryan Hellyer – 1.7.2 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.10.0 Jetpack by WordPress.com: by Automattic – 7.9.1 Huge IT Lightbox: by Huge-IT – 2.1.0 P3 (Plugin Performance Profiler): by GoDaddy.com – 1.5.3.9 WP Real Media Library: by Matthias Günter – 3.4.4 Simple Lightbox: by Archetyped – 2.7.1 TinyMCE Advanced: by Andrew Ozz – 5.2.1 W3 Total Cache: by Frederick Townes – 0.10.2 WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.17 – Not tested with the active version of WooCommerce WooCommerce Services: by Automattic – 1.22.1 WooCommerce - ShipStation Integration: by WooCommerce – 4.1.30 WooCommerce Square: by WooCommerce – 2.0.7 WooCommerce: by Automattic – 3.8.0 Yoast SEO: by Team Yoast – 12.5 WP Force SSL: by WebFactory Ltd – 1.5 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.0.13 WP Server Stats: by Saumya Majumder – 1.6.8 Smush: by WPMU DEV – 3.3.2 ### Inactive Plugins (0) ### ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php db.php: Query Monitor Database Class ### Must Use Plugins (2) ### InfiniteWP - Client Loader: by Revmakx – p3-profiler.php: by – ### 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: #660 - /shop/ Cart: #661 - /cart/ Checkout: #662 - /checkout/ My account: #663 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Horizon child Version: 2.0 Author URL: Child Theme: ? Parent Theme Name: Horizon in HD Parent Theme Version: 2 Parent Theme Author URL: https://www.heighteneddesigns.com WooCommerce Support: ? ### Templates ### Overrides: horizonHD2/woocommerce/archive-product.php horizonHD2/woocommerce/auth/footer.php horizonHD2/woocommerce/auth/form-grant-access.php horizonHD2/woocommerce/auth/form-login.php horizonHD2/woocommerce/auth/header.php horizonHD2/woocommerce/cart/cart-empty.php horizonHD2/woocommerce/cart/cart-item-data.php horizon-child/woocommerce/cart/cart-shipping.php horizonHD2/woocommerce/cart/cart-totals.php horizonHD2/woocommerce/cart/cart.php version 3.5.0 is out of date. The core version is 3.8.0 horizonHD2/woocommerce/cart/cross-sells.php horizonHD2/woocommerce/cart/mini-cart.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/cart/proceed-to-checkout-button.php horizonHD2/woocommerce/cart/shipping-calculator.php horizonHD2/woocommerce/checkout/cart-errors.php horizonHD2/woocommerce/checkout/form-billing.php horizonHD2/woocommerce/checkout/form-checkout.php horizonHD2/woocommerce/checkout/form-coupon.php horizonHD2/woocommerce/checkout/form-login.php version 3.4.0 is out of date. The core version is 3.8.0 horizonHD2/woocommerce/checkout/form-pay.php horizonHD2/woocommerce/checkout/form-shipping.php horizonHD2/woocommerce/checkout/order-receipt.php horizonHD2/woocommerce/checkout/payment-method.php horizonHD2/woocommerce/checkout/payment.php horizonHD2/woocommerce/checkout/review-order.php version 3.3.0 is out of date. The core version is 3.8.0 horizonHD2/woocommerce/checkout/terms.php horizonHD2/woocommerce/checkout/thankyou.php version 3.2.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/content-product.php horizonHD2/woocommerce/content-product_cat.php horizonHD2/woocommerce/content-single-product.php horizonHD2/woocommerce/content-widget-product.php horizonHD2/woocommerce/content-widget-reviews.php horizonHD2/woocommerce/emails/admin-cancelled-order.php version 3.6.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/admin-failed-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/admin-new-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/customer-completed-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/customer-invoice.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/customer-new-account.php version 3.5.2 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/customer-note.php version 3.6.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/customer-on-hold-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/customer-processing-order.php version 3.5.4 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/customer-refunded-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/customer-reset-password.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/email-addresses.php horizonHD2/woocommerce/emails/email-customer-details.php horizonHD2/woocommerce/emails/email-downloads.php horizonHD2/woocommerce/emails/email-footer.php version 2.3.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/email-header.php horizonHD2/woocommerce/emails/email-order-details.php version 3.3.1 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/email-order-items.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/email-styles.php horizonHD2/woocommerce/emails/plain/admin-cancelled-order.php version 3.6.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/admin-failed-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/admin-new-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/customer-completed-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/customer-invoice.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/customer-new-account.php version 3.5.2 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/customer-note.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/customer-on-hold-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/customer-processing-order.php version 3.5.4 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/customer-refunded-order.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/customer-reset-password.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/email-addresses.php horizonHD2/woocommerce/emails/plain/email-customer-details.php horizonHD2/woocommerce/emails/plain/email-downloads.php horizonHD2/woocommerce/emails/plain/email-order-details.php version 3.5.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/emails/plain/email-order-items.php version 3.2.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/global/breadcrumb.php horizonHD2/woocommerce/global/form-login.php horizonHD2/woocommerce/global/quantity-input.php horizonHD2/woocommerce/global/sidebar.php horizonHD2/woocommerce/global/wrapper-end.php horizonHD2/woocommerce/global/wrapper-start.php horizonHD2/woocommerce/loop/add-to-cart.php horizonHD2/woocommerce/loop/loop-end.php horizonHD2/woocommerce/loop/loop-start.php horizonHD2/woocommerce/loop/no-products-found.php horizonHD2/woocommerce/loop/orderby.php horizonHD2/woocommerce/loop/pagination.php horizonHD2/woocommerce/loop/price.php horizonHD2/woocommerce/loop/rating.php horizonHD2/woocommerce/loop/result-count.php version 3.3.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/loop/sale-flash.php horizonHD2/woocommerce/myaccount/dashboard.php horizonHD2/woocommerce/myaccount/downloads.php horizonHD2/woocommerce/myaccount/form-add-payment-method.php horizonHD2/woocommerce/myaccount/form-edit-account.php horizonHD2/woocommerce/myaccount/form-edit-address.php horizonHD2/woocommerce/myaccount/form-login.php horizonHD2/woocommerce/myaccount/form-lost-password.php horizonHD2/woocommerce/myaccount/form-reset-password.php horizonHD2/woocommerce/myaccount/lost-password-confirmation.php horizonHD2/woocommerce/myaccount/my-account.php horizonHD2/woocommerce/myaccount/my-address.php horizonHD2/woocommerce/myaccount/my-downloads.php horizonHD2/woocommerce/myaccount/my-orders.php horizonHD2/woocommerce/myaccount/navigation.php horizonHD2/woocommerce/myaccount/orders.php version 3.2.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/myaccount/payment-methods.php horizonHD2/woocommerce/myaccount/view-order.php horizonHD2/woocommerce/notices/error.php horizonHD2/woocommerce/notices/notice.php horizonHD2/woocommerce/notices/success.php horizonHD2/woocommerce/order/form-tracking.php horizonHD2/woocommerce/order/order-again.php horizonHD2/woocommerce/order/order-details-customer.php horizonHD2/woocommerce/order/order-details-item.php version 3.0.0 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/order/order-details.php version 3.5.2 is out of date. The core version is 3.7.0 horizonHD2/woocommerce/order/order-downloads.php horizonHD2/woocommerce/order/tracking.php horizonHD2/woocommerce/product-searchform.php horizonHD2/woocommerce/single-product/add-to-cart/external.php horizonHD2/woocommerce/single-product/add-to-cart/grouped.php horizonHD2/woocommerce/single-product/add-to-cart/simple.php horizonHD2/woocommerce/single-product/add-to-cart/variable.php horizonHD2/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php horizonHD2/woocommerce/single-product/add-to-cart/variation.php horizonHD2/woocommerce/single-product/meta.php horizonHD2/woocommerce/single-product/photoswipe.php horizon-child/woocommerce/single-product/price.php horizonHD2/woocommerce/single-product/product-attributes.php horizonHD2/woocommerce/single-product/product-image.php horizonHD2/woocommerce/single-product/product-thumbnails.php horizonHD2/woocommerce/single-product/rating.php horizonHD2/woocommerce/single-product/related.php horizonHD2/woocommerce/single-product/review-meta.php horizonHD2/woocommerce/single-product/review-rating.php horizonHD2/woocommerce/single-product/review.php horizonHD2/woocommerce/single-product/sale-flash.php horizonHD2/woocommerce/single-product/share.php horizonHD2/woocommerce/single-product/short-description.php horizonHD2/woocommerce/single-product/stock.php horizonHD2/woocommerce/single-product/tabs/additional-information.php horizonHD2/woocommerce/single-product/tabs/description.php horizonHD2/woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0 horizonHD2/woocommerce/single-product/title.php horizonHD2/woocommerce/single-product/up-sells.php horizonHD2/woocommerce/single-product-reviews.php horizonHD2/woocommerce/single-product.php horizonHD2/woocommerce/taxonomy-product_cat.php horizonHD2/woocommerce/taxonomy-product_tag.php Outdated Templates: ? Learn how to update ### Square ### Environment: Production Tokenization Enabled: – Debug Mode: Save to Log ### Action Scheduler ### Complete: 13 Oldest: 2019-10-23 18:21:59 +0000 Newest: 2019-11-22 17:21:04 +0000 Pending: 2 Oldest: 2019-11-28 18:33:03 +0000 Newest: 2019-11-28 18:33:04 +0000 Canceled: 2 Oldest: 2019-10-31 14:58:19 +0000 Newest: 2019-10-31 14:58:19 +0000 In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
Hi @primebattery,
Thanks for sending your system status over, what @amandasjackson was asking for is the error logs from Square itself.
You may need to enable logging under WooCommerce > Settings > Payments and select Manage next to Square. Then at the bottom of those settings you’ll see a checkbox to enable Logging.
<img src=”https://cld.wthms.co/t7saqj
+” alt=””>
Link to image: https://cld.wthms.co/t7saqjThen if any errors are logged you’ll find those under WooCommerce > Status > Logs tab. There will be a Square log for every day that logging is enabled. Pick the appropriate day to find that days logs and see if any of these orders appear in the logs to explain what’s going on with them.
11-19-2019 @ 22:00:18 – Request
method:
uri: createCustomerWithHttpInfo
user-agent: WooCommerce-Square/2.0.7 (WooCommerce/3.8.0; WordPress/5.3)
headers: Array
(
)
body: {
“given_name”: “John”,
“family_name”: “ABC”,
“company_name”: “”,
“email_address”: “[email protected]”,
“address”: {
“address_line_1”: “123 Somewhere Lane”,
“address_line_2”: “”,
“locality”: “Vernon”,
“administrative_district_level_1”: “CT”,
“postal_code”: “06489”,
“country”: “US”,
“first_name”: “test”,
“last_name”: “test”,
“organization”: “”
},
“phone_number”: “”
}
duration: 0.48289s11-19-2019 @ 22:00:18 – Response
code: 200
message:
headers: Array
(
[0] => HTTP/1.1 200 OK
[Content-Type] => application/json
[Square-Version] => 2019-08-14
[Vary] => Origin, Accept-Encoding
[X-Content-Type-Options] => nosniff
[X-Download-Options] => noopen
[X-Frame-Options] => SAMEORIGIN
[X-Permitted-Cross-Domain-Policies] => none
[X-Xss-Protection] => 1; mode=block
[Date] => Tue, 19 Nov 2019 22:19:58 GMT
[Content-Length] => 438
[X-Envoy-Upstream-Service-Time] => 119
[Strict-Transport-Security] => max-age=604800; includeSubDomains
[Server] => envoy
)
body: {
“customer”: {
“id”: “9ARXDKPHP8V0X9HDKGD2C9VJWR”,
“created_at”: “2019-11-19T22:19:58.701Z”,
“updated_at”: “2019-11-19T22:19:59Z”,
“given_name”: “test”,
“family_name”: “test”,
“email_address”: “[email protected]”,
“address”: {
“address_line_1”: “123 Somewhere Lane”,
“locality”: “Vernon”,
“administrative_district_level_1”: “CT”,
“postal_code”: “06489”,
“country”: “US”
},
“preferences”: {
“email_unsubscribed”: false
},
“creation_source”: “THIRD_PARTY”
}
}11-19-2019 @ 22:00:18 – Request
method:
uri: createOrderWithHttpInfo/VQ63PB76FFF14
user-agent: WooCommerce-Square/2.0.7 (WooCommerce/3.8.0; WordPress/5.3)
headers: Array
(
)
body: {
“order”: {
“reference_id”: “WC-19”,
“line_items”: [
{
“name”: “12V 5 AH Rechargeable Battery: Emergency Lighting, Backups, Alarms Toys”,
“quantity”: “1”,
“applied_taxes”: [
{
“tax_uid”: “5dd465f26076e”
}
],
“base_price_money”: {
“amount”: 1795,
“currency”: “USD”
}
},
{
“name”: “23A (5 pack) Vinnic 1028F 12V Alkaline”,
“quantity”: “1”,
“applied_taxes”: [
{
“tax_uid”: “5dd465f26076e”
}
],
“base_price_money”: {
“amount”: 595,
“currency”: “USD”
}
},
{
“name”: “Free shipping”,
“quantity”: “1”,
“applied_taxes”: [
{
“tax_uid”: “5dd465f26076e”
}
],
“base_price_money”: {
“amount”: 0,
“currency”: “USD”
}
}
],
“taxes”: [
{
“uid”: “5dd465f26076e”,
“name”: “US-CT-CT SALES TAX-1”,
“type”: “ADDITIVE”,
“percentage”: “6.36”,
“scope”: “LINE_ITEM”
}
]
},
“idempotency_key”: “WC-19-2”
}
duration: 0.26966s11-19-2019 @ 22:00:18 – Response
code: 200
message:
headers: Array
(
[0] => HTTP/1.1 200 OK
[Date] => Tue, 19 Nov 2019 22:19:58 GMT
[Frame-Options] => DENY
[X-Frame-Options] => DENY
[X-Content-Type-Options] => nosniff
[X-Xss-Protection] => 1; mode=block
[Content-Type] => application/json;charset=utf-8
[Square-Version] => 2019-08-14
[Vary] => Accept-Encoding, User-Agent
[X-Envoy-Upstream-Service-Time] => 121
[Strict-Transport-Security] => max-age=604800; includeSubDomains
[Server] => envoy
[Transfer-Encoding] => chunked
)
body: {
“order”: {
“id”: “WEiQvsaodMsuf79vaLI2b1wmaRKZY”,
“location_id”: “VQ63PB76FFF14”,
“reference_id”: “WC-19”,
“source”: {
“name”: “WooCommerce”
},
“line_items”: [
{
“uid”: “E4JW6QgT0DeCnqc0V9qUGB”,
“name”: “12V 5 AH Rechargeable Battery: Emergency Lighting, Backups, Alarms Toys”,
“quantity”: “1”,
“taxes”: [
{
“uid”: “5dd465f26076e”,
“name”: “US-CT-CT SALES TAX-1”,
“type”: “ADDITIVE”,
“percentage”: “6.36”,
“applied_money”: {
“amount”: 114,
“currency”: “USD”
},
“scope”: “LINE_ITEM”
}
],
“applied_taxes”: [
{
“uid”: “jVgyJYAXs9Bzem0JftD97C”,
“tax_uid”: “5dd465f26076e”,
“applied_money”: {
“amount”: 114,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 1795,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 1795,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 1795,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 114,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 1909,
“currency”: “USD”
}
},
{
“uid”: “BihA1oDZOHfFXG74K4AvUD”,
“name”: “23A (5 pack) Vinnic 1028F 12V Alkaline”,
“quantity”: “1”,
“taxes”: [
{
“uid”: “5dd465f26076e”,
“name”: “US-CT-CT SALES TAX-1”,
“type”: “ADDITIVE”,
“percentage”: “6.36”,
“applied_money”: {
“amount”: 38,
“currency”: “USD”
},
“scope”: “LINE_ITEM”
}
],
“applied_taxes”: [
{
“uid”: “ELRKGcrRAd4JHaegLnnwGB”,
“tax_uid”: “5dd465f26076e”,
“applied_money”: {
“amount”: 38,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 595,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 595,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 595,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 38,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 633,
“currency”: “USD”
}
},
{
“uid”: “PJdFUuAdXY1LRKqo6M5CED”,
“name”: “Free shipping”,
“quantity”: “1”,
“taxes”: [
{
“uid”: “5dd465f26076e”,
“name”: “US-CT-CT SALES TAX-1”,
“type”: “ADDITIVE”,
“percentage”: “6.36”,
“applied_money”: {
“amount”: 0,
“currency”: “USD”
},
“scope”: “LINE_ITEM”
}
],
“applied_taxes”: [
{
“uid”: “vwfnLjsfiBgtvyg4IOIkK”,
“tax_uid”: “5dd465f26076e”,
“applied_money”: {
“amount”: 0,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 0,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 0,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 0,
“currency”: “USD”
}
}
],
“taxes”: [
{
“uid”: “5dd465f26076e”,
“name”: “US-CT-CT SALES TAX-1”,
“type”: “ADDITIVE”,
“percentage”: “6.36”,
“applied_money”: {
“amount”: 152,
“currency”: “USD”
},
“scope”: “LINE_ITEM”
}
],
“net_amounts”: {
“total_money”: {
“amount”: 2542,
“currency”: “USD”
},
“tax_money”: {
“amount”: 152,
“currency”: “USD”
},
“discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“tip_money”: {
“amount”: 0,
“currency”: “USD”
},
“service_charge_money”: {
“amount”: 0,
“currency”: “USD”
}
},
“created_at”: “2019-11-19T22:19:59.017Z”,
“updated_at”: “2019-11-19T22:19:59.017Z”,
“state”: “OPEN”,
“version”: 1,
“total_money”: {
“amount”: 2542,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 152,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_service_charge_money”: {
“amount”: 0,
“currency”: “USD”
}
}
}11-19-2019 @ 22:00:19 – Request
method:
uri: chargeWithHttpInfo/VQ63PB76FFF14
user-agent: WooCommerce-Square/2.0.7 (WooCommerce/3.8.0; WordPress/5.3)
headers: Array
(
)
body: {
“idempotency_key”: “WC-19-2”,
“amount_money”: {
“amount”: 2542,
“currency”: “USD”
},
“card_nonce”: “cnon:CBASENHVuzYParntDm5j8lFWgZs”,
“delay_capture”: false,
“reference_id”: “WC-19”,
“note”: “Prime Battery – Order WC-19”,
“customer_id”: “9ARXDKPHP8V0X9HDKGD2C9VJWR”,
“billing_address”: {
“address_line_1”: “123 Somewhere Lane”,
“address_line_2”: “”,
“locality”: “Vernon”,
“administrative_district_level_1”: “CT”,
“postal_code”: “06489”,
“country”: “US”,
“first_name”: “test”,
“last_name”: “test”,
“organization”: “”
},
“shipping_address”: {
“address_line_1”: “123 Somewhere Lane”,
“address_line_2”: “”,
“locality”: “Vernon”,
“administrative_district_level_1”: “CT”,
“postal_code”: “06489”,
“country”: “US”,
“first_name”: “test”,
“last_name”: “test”
},
“buyer_email_address”: “[email protected]”,
“order_id”: “WEiQvsaodMsuf79vaLI2b1wmaRKZY”
}
duration: 0.59334s11-19-2019 @ 22:00:19 – Response
code: 402
message:
headers: Array
(
[0] => HTTP/1.1 402 Payment Required
[Content-Type] => application/json
[Square-Version] => 2019-08-14
[Vary] => Origin, Accept-Encoding
[X-Content-Type-Options] => nosniff
[X-Download-Options] => noopen
[X-Frame-Options] => SAMEORIGIN
[X-Permitted-Cross-Domain-Policies] => none
[X-Xss-Protection] => 1; mode=block
[Date] => Tue, 19 Nov 2019 22:19:59 GMT
[Content-Length] => 97
[X-Envoy-Upstream-Service-Time] => 179
[Strict-Transport-Security] => max-age=604800; includeSubDomains
[Server] => envoy
)
body: Array
(
[errors] => Array
(
[0] => stdClass Object
(
[category] => PAYMENT_METHOD_ERROR
[code] => CARD_DECLINED
[detail] => Card declined.
))
)
11-19-2019 @ 22:00:19 - Status code CARD_DECLINED: Card declined.
Hi @primebattery,
Thanks for that log, to confirm the declined orders are all using the same card? If so have you also contacted the card issuer, even if they all aren’t the same maybe they are from the same issuer?
I’d be curious to know what the card issuer(s) may say or see on their end. Usually the declined error means the card issues is indeed declining the card from being used on your site. I think it would be helpful as well to reach out to Square to see if they have any information that would be helpful knowing why the cards are declined.
Also, if this was an issue in October did it become fixed at some point?
Thanks for the reply.
This is EVERY CARD from ANY person, when the same cards ALL worked previously and ALL work at ANY OTHER SITE.
Sorry for the CAPS, but we’ve said this a number of times in earlier portions of these threads.
It isn’t the cards. Clearly, and we’ve proven that.
Unfortunately it has not been resolved. Someone closed our previous thread without any resolution.
We’ve turned on PayPal as an option because we cannon get the Square plugin working. and yes It’s been a MONTH.
We just tried another card, which was used to buy gas recently, and it too was declined.
It still seems that there’s an issue processing the cards through the portal, not with the actual cards themselves.
“Square Payment Failed (Status code CARD_DECLINED: Card declined.) Order status changed from Pending payment to Failed.”
This is the typical error we see when the transaction won’t go through.
Hi again,
This is EVERY CARD from ANY person, when the same cards ALL worked previously and ALL work at ANY OTHER SITE.
I take it you also tested with a default theme + WooCommerce and WooCommerce Square. Did that change anything?
Kind regards,
This was happening to our site as well randomly, however i found that disconnecting square from the woocommerce site and reconnecting it made it work.
You can find more here
Hi @primebattery,
Thank you for providing the System Status Report, the error log and your previous findings.
Unfortunately, this particular error log from November 19th doesn’t include any additional information which could be useful when determining what exactly is happening, and I don’t see any similar reports with the exact same symptoms.
As suggested above, it might be a good idea to disconnect your site from Square (in wp-admin >> WooCommerce >> Settings >> Square) and re-connect.
Have you tried reaching out to Square support team yet? They might be able to see the exact decline reasons.
https://squareup.com/help/us/en/article/6507-how-to-contact-square-capital
If that doesn’t help – we’d like to log in and investigate, and we’d have to ask you to move this thread to a ticket. If you have a WooCommerce.com account – please start a ticket here:
https://woocommerce.com/my-account/create-a-ticket/
If you don’t have a WooCommerce.com account – you can send us an email using [email protected].
Please reference this thread when submitting a ticket.
Thank you!
Hi there,
We haven’t heard from you in a while so I’ll be marking this thread as resolved.
Feel free to open a new thread and link to this one if you have further questions though, or submit a ticket as explained in my previous message.
Have a wonderful day ahead!
- The topic ‘WooCommerce Declining CCards’ is closed to new replies.