Only showing 12 digits of credit card number
-
Hello,
The WooCommerce Square payment form on the checkout page only shows 12 digits of the card number to the customer as they’re entering in their card info. A customer has complained and we verified the issue exists on mobile phones. We are still getting sales because customers can enter 16 digits, but only 12 show. However, some customers have gotten stuck at this point since only 12 digits are shown and contacted us. Please let us know when you can resolve this issue.
Thank you,
Brandon
The page I need help with: [log in to see the link]
-
Hi Brandon,
Do you mean customers can only enter 12 digits in the card number field? If yes, are you able to replicate this behavior by placing a test order?
Normally, the format depends on the start of the number. For example, if an American Express card starts with 37, then the format will be the 4-6-5 format you see. Doing a bit of digging on Google, it looks like Maestro can have between 12-19 digits for their cards.
Do you notice any error messages?
Hello Support,
Yes the customer can only enter 12 digits in the card number field. I replicated the issue and here’s a link to a screenshot: https://cdn.shopify.com/s/files/1/0025/2582/3076/files/12digit_screenshot.png?v=1623944318
The current workarounds are customers have been flipping there phone into landscape mode or using the “Scan Credit Card” feature to bypass this. The third workaround is to keep typing and the remaining credit card digits will be hidden behind the card image in the text field and payment will go through successfully.
I hope this information helps.
Thank you,
Brandon
Hey there Brandon,
Could you temporarily switch the site theme to Storefront or 2021 and check if you still notice the issue?
Since the form works and is still accepting the full card detail correctly, we would like to narrow down and check if this formatting issue is coming from the theme.
Do keep us posted on how this troubleshooting works out for you.
I temporarily switch the theme to 2021 and the issue is still present except now it shows only 15 digits instead of 12 digits. Screenshot: https://cdn.shopify.com/s/files/1/0025/2582/3076/files/IMG_6592.png?v=1624023958
Hey there @vanceglobal – there might be something adjusting your CSS, making the input field behave differently. Can you please copy and paste the system report for this site? You can find it under WP Admin > WooCommerce > Status > Get system report > Copy for support.
Thanks in advance!
### WordPress Environment ### WordPress address (URL): https://vance-global.com Site address (URL): https://vance-global.com WC Version: 5.4.1 REST API Version: ? 5.4.1 WC Blocks Version: ? 5.1.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.3.1 Log Directory Writable: ? WP Version: 5.7.2 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.20 PHP Post Max Size: 8 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.77.0 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 8.0.25 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.4.1 WC Database Prefix: wp_ Total Database Size: 408.62MB Database Data Size: 219.69MB Database Index Size: 188.93MB wp_woocommerce_sessions: Data: 3.02MB + Index: 0.05MB + 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: 3.52MB + Index: 1.52MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 21.56MB + Index: 18.06MB + 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.23MB + Index: 0.20MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 6.73MB + Index: 2.98MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 5.17MB + Index: 4.08MB + Engine MyISAM wp_cartflows_visits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cartflows_visits_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 1.52MB + Index: 0.73MB + Engine InnoDB wp_comments: Data: 17.55MB + Index: 15.09MB + Engine InnoDB wp_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_imagify_files: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_imagify_folders: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 1.38MB + Index: 0.10MB + Engine MyISAM wp_mailchimp_jobs: Data: 0.32MB + Index: 0.01MB + Engine MyISAM wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_niwoosc_user_role_commission: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_omnisend_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 8.44MB + Index: 1.17MB + Engine InnoDB wp_plisio_order: Data: 5.42MB + Index: 0.00MB + Engine MyISAM wp_postmeta: Data: 89.63MB + Index: 97.27MB + Engine InnoDB wp_posts: Data: 7.44MB + Index: 5.84MB + Engine InnoDB wp_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_css: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_taxjar_record_queue: Data: 1.09MB + Index: 0.61MB + Engine MyISAM wp_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: 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_ukuu_favorites: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_usermeta: Data: 28.56MB + Index: 28.13MB + Engine InnoDB wp_users: Data: 1.52MB + Index: 0.94MB + Engine InnoDB wp_vxc_mailchimp_accounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_vxc_mailchimp_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 1.52MB + Index: 0.63MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.13MB + Index: 0.16MB + Engine InnoDB wp_wc_order_product_lookup: Data: 3.52MB + Index: 6.06MB + Engine InnoDB wp_wc_order_stats: Data: 1.52MB + Index: 1.16MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM 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_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_square_customers: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp_wpam_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpam_affiliates: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wpam_affiliates_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpam_creatives: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpam_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpam_impressions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpam_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpam_paypal_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpam_tracking_tokens: Data: 0.73MB + Index: 0.09MB + Engine MyISAM wp_wpam_tracking_tokens_purchase_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpam_transactions: Data: 0.09MB + Index: 0.01MB + Engine MyISAM wp_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wsal_metadata: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wsal_occurrences: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wsal_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_indexable: Data: 6.05MB + Index: 2.61MB + Engine MyISAM wp_yoast_indexable_hierarchy: Data: 0.20MB + Index: 0.71MB + Engine MyISAM wp_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### amp_validated_url: 12 attachment: 60 cartflows_flow: 3 cartflows_step: 8 customize_changeset: 111 custom_css: 1 elementor_library: 8 feedback: 53 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 mc4wp-form: 1 nav_menu_item: 24 oembed_cache: 4 omapi: 1 page: 29 post: 19 product: 37 product_variation: 25 shop_coupon: 1232 shop_order: 19627 shop_order_refund: 121 shop_subscription: 48 shufflehound_footer: 1 wp-type-contacts: 6 wpcf7_contact_form: 6 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (21) ### Redux: by Redux.io + Dovy Paukstys – 4.1.26 WP Affiliate Manager: by wp.insider wpaffiliatemgr – 2.8.4 Contact Form 7: by Takayuki Miyoshi – 5.4.1 Agy: by Patrick Posner – 4.2.8 Envato Market: by Envato – 2.0.6 Imagify: by WP Media – 1.9.14 WPBakery Page Builder: by Michael M - WPBakery.com – 6.6.0 Mailchimp for WooCommerce: by Mailchimp – 2.5.1 Plisio Payment Gateway for WooCommerce: by Plisio – 1.0.4 TaxJar - Sales Tax Automation for WooCommerce: by TaxJar – 3.2.10 WooCommerce Authorize.Net Gateway: by SkyVerge – 3.6.0 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.1 WooCommerce - ShipStation Integration: by WooCommerce – 4.1.42 WooCommerce Square: by WooCommerce – 2.5.1 WooCommerce Subscriptions: by WooCommerce – 3.1.3 WooCommerce Wholesale Prices Premium: by Rymera Web Co – 1.26.1 WooCommerce Wholesale Prices: by Rymera Web Co – 1.14.2 WooCommerce: by Automattic – 5.4.1 Yoast SEO: by Team Yoast – 16.5 WP Mail SMTP: by WPForms – 2.8.0 WP Rocket: by WP Media – 3.8.8 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### endurance-page-cache.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) 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 WooCommerce.com: ? ### WC Pages ### Shop base: #23050 - /shop/ Cart: #8961 - /cart/ Checkout: #8962 - /checkout/ My account: ? Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: #9001 - /terms-and-conditions/ ### Theme ### Name: Jevelin Version: 5.0.5 Author URL: https://shufflehound.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 ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: jevelin/woocommerce/archive-product.php jevelin/woocommerce/cart/cart-empty.php jevelin/woocommerce/cart/cart.php jevelin/woocommerce/checkout/form-checkout.php jevelin/woocommerce/checkout/review-order.php jevelin/woocommerce/checkout/thankyou.php jevelin/woocommerce/content-product.php jevelin/woocommerce/content-single-product.php jevelin/woocommerce/loop/loop-end.php jevelin/woocommerce/loop/loop-start.php jevelin/woocommerce/loop/no-products-found.php jevelin/woocommerce/loop/orderby.php jevelin/woocommerce/loop/pagination.php jevelin/woocommerce/loop/price.php jevelin/woocommerce/loop/rating.php jevelin/woocommerce/loop/result-count.php jevelin/woocommerce/loop/sale-flash.php jevelin/woocommerce/notices/error.php jevelin/woocommerce/notices/notice.php jevelin/woocommerce/notices/success.php jevelin/woocommerce/product-searchform.php jevelin/woocommerce/single-product/meta.php jevelin/woocommerce/single-product/product-image.php jevelin/woocommerce/single-product/product-thumbnails.php jevelin/woocommerce/single-product/rating.php jevelin/woocommerce/single-product/review.php jevelin/woocommerce/single-product/sale-flash.php jevelin/woocommerce/single-product/share.php jevelin/woocommerce/single-product/short-description.php jevelin/woocommerce/single-product/tabs/additional-information.php jevelin/woocommerce/single-product/tabs/description.php jevelin/woocommerce/single-product/tabs/tabs.php jevelin/woocommerce/single-product/title.php ### Subscriptions ### WCS_DEBUG: ? No Subscriptions Mode: ? Live Subscriptions Live URL: https://vance-global.com Subscription Statuses: wc-active: 14 wc-pending-cancel: 2 wc-on-hold: 9 wc-cancelled: 23 WooCommerce Account Connected: ? Yes Active Product Key: ? Yes Custom Retry Rules: ? No Custom Retry Rule Class: ? No Custom Raw Retry Rule: ? No Custom Retry Rule: ? No Retries Migration Status: ? Completed Report Cache Enabled: ? Yes Cache Update Failures: ? 0 failure ### Store Setup ### Country / State: United States (US) — Wisconsin ### Subscriptions by Payment Gateway ### Square: wc-active: 11 wc-cancelled: 22 wc-on-hold: 9 wc-pending-cancel: 2 other: wc-active: 3 wc-cancelled: 1 ### Payment Gateway Support ### Square: products card_types customer_decline_messages payment_form authorization charge charge-virtual capture_charge refunds voids customer_id tokenization add_payment_method token_editor subscriptions subscription_suspension subscription_cancellation subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change_customer subscription_payment_method_change_admin Plisio: products ### Square ### Environment: Production Tokenization Enabled: ? Debug Mode: Off ### Action Scheduler ### Canceled: 58 Oldest: 2021-05-21 11:02:00 -0500 Newest: 2021-06-18 15:51:24 -0500 Complete: 24,762 Oldest: 2021-05-23 13:41:25 -0500 Newest: 2021-06-19 15:28:26 -0500 Pending: 7 Oldest: 2021-06-19 15:29:46 -0500 Newest: 2021-06-30 20:51:25 -0500 ### Status report information ### Generated at: 2021-06-19 15:28:45 -05:00
Hey there!
Thanks for sharing your site’s SSR. I can see that the default checkout form is being overridden by your theme:
` jevelin/woocommerce/checkout/form-checkout.php
Could you please remove the file or perform a full conflict check?
The best way to determine if the issue is being caused by a theme and/or plugin is to temporarily switch your theme to Storefront (https://woocommerce.com/storefront/?aff=10486&cid=1131038) and disable all plugins except for WooCommerceand Square. Finally, test to see if the issue is resolved by
To figure out which plugin is causing the problem, continue to the next step – reactivate your other plugins one by one, testing after each until you find the one causing conflict.
Here’s a more extensive explanation in our docs: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
If that doesn’t help then please contact us at <a href=”https://woocommerce.com/my-account/create-a-ticket/?form=ticket”>WooCommerce.com > My Account > Support</a>. 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.
Thanks!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
- The topic ‘Only showing 12 digits of credit card number’ is closed to new replies.