• Resolved Benedict

    (@trumpetmedia)


    During the checkout process, after the user is asked to their CVV number, they are then asked to enter their postal code.The problem is that the field is marked Zip Code and only allows numbers and limits to 5 characters.I would like to be able to enter Canadian Postal codes which include 6 characters with a mix of numbers and letters. In WooCommerece Settings, the Store Address is set to Canada and the billing field does state “Postal Code.” I notice that the CC info is pulled from the postal code field, but it only populates the numbers, so if the entered postal code is M3C 1V4, then the CC Zip Code field shows 314.

    Also, I notice if we add two zeros at the end of “314” like “31400” it worked, but I don’t want to ask our customer to add zeros to the postal code.

    Please help us.

    WordPress Environment
    
    WordPress address (URL): http://tickets.choralnation.com
    Site address (URL): http://tickets.choralnation.com
    WC Version: 7.3.0
    REST API Version: ✔</img> 7.3.0
    WC Blocks Version: ✔</img> 9.1.5
    Action Scheduler Version: ✔</img> 3.4.0
    Log Directory Writable: ✔</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔</img>
    Language: en_CA
    External object cache: –
    
    Server Environment
    
    Server Info: Apache/2.4.48 (Unix) OpenSSL/1.1.1n
    PHP Version: 7.4.22
    PHP Post Max Size: 80 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.30-MariaDB
    Max Upload Size: 80 MB
    Default Timezone is UTC: ✔</img>
    fsockopen/cURL: ✔</img>
    SoapClient: ✔</img>
    DOMDocument: ✔</img>
    GZip: ✔</img>
    Multibyte String: ✔</img>
    Remote Post: ✔</img>
    Remote Get: ✔</img>
    
    Database
    
    WC Database Version: 7.3.0
    WC Database Prefix: wp_
    Total Database Size: 27.45MB
    Database Data Size: 20.44MB
    Database Index Size: 7.01MB
    wp_woocommerce_sessions: Data: 0.06MB + Index: 0.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.06MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.33MB + Index: 0.30MB + 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_actionscheduler_actions: Data: 0.13MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.28MB + Index: 0.30MB + Engine InnoDB
    wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 3.02MB + Index: 0.08MB + Engine InnoDB
    wp_postmeta: Data: 11.48MB + Index: 3.91MB + Engine InnoDB
    wp_posts: Data: 3.50MB + Index: 0.41MB + Engine InnoDB
    wp_sgs_log_events: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_sgs_log_visitors: Data: 0.06MB + Index: 0.00MB + 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_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + 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_woocommerce_square_customers: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    Post Type Counts
    
    acf-field: 2
    acf-field-group: 1
    attachment: 51
    customize_changeset: 2
    elementor_library: 10
    page: 23
    post: 2
    product: 19
    revision: 936
    shop_coupon: 17
    shop_order: 364
    shop_order_refund: 2
    ticket-meta-fieldset: 2
    tribe_events: 10
    tribe_organizer: 3
    tribe_venue: 6
    tribe_wooticket: 583
    
    Security
    
    Secure connection (HTTPS): ✔</img>
    Hide errors from visitors: ✔</img>
    
    Active Plugins (14)
    
    Advanced Custom Fields: by WP Engine – 6.0.7
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    Elementor Beta (Developer Edition): by Elementor.com – 1.1.1
    Elementor Pro: by Elementor.com – 3.7.3
    Elementor: by Elementor.com – 3.7.2
    Event Tickets Plus: by The Events Calendar – 5.3.1
    Event Tickets: by The Events Calendar – 5.2.1
    The Events Calendar: by The Events Calendar – 5.11.0
    Trumpet Media - Report: by Benedict Eduard de Pio – 1.0.0
    Event Tickets Extension: PDF Tickets: by Modern Tribe
    Inc. – 1.2.2
    
    WooCommerce Square: by WooCommerce – 3.4.2
    WooCommerce: by Automattic – 7.3.0
    WP Mail SMTP: by WPForms – 3.7.0
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.6
    
    Inactive Plugins (0)
    
    Settings
    
    API Enabled: –
    Force SSL: –
    Currency: CAD ($)
    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: ✔</img>
    Enforce Approved Product Download Directories: –
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #6 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: ❌</img> Page not set
    
    Theme
    
    Name: Storefront Child Theme
    Version: 1.0.0
    Author URL: http://trumeptmedia.ca/ben
    Child Theme: ✔</img>
    Parent Theme Name: Storefront
    Parent Theme Version: 4.2.0
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔</img>
    
    Templates
    
    Overrides: –
    
    Square
    
    Environment: Production
    Tokenization Enabled: –
    Debug Mode: Off
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-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
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ✔</img> Next scheduled: 2023-01-20 05:28:18 -05:00
    Options: ✔</img>
    Notes: 100
    Onboarding: completed
    
    Action Scheduler
    
    Complete: 315
    Oldest: 2023-01-18 16:23:10 -0500
    Newest: 2023-01-19 10:15:04 -0500
    
    Failed: 8
    Oldest: 2021-08-11 14:28:11 -0400
    Newest: 2021-08-12 10:12:32 -0400
    
    Pending: 5
    Oldest: 2023-01-20 10:15:04 -0500
    Newest: 2023-01-25 21:28:06 -0500
    
    Status report information
    
    Generated at: 2023-01-19 10:18:50 -05:00
    `

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Howdy @trumpetmedia

    Thank you for reaching out about this.

    Just to clarify, are you referring to the Postal Code field in the Billing Details side of the screen showcased in the screenshot linked here, or otherwise?

    From what I gather, the Checkout page is modified & this could be resulting from those modifications. Could you try activating directly the Storefront theme, with only the WooCommerce and WooCommerce Square plugins active, and see if the issue persists, please?

    A picture is worth a thousand words, as the saying goes, therefore, feel free to also share a screenshot of the screen where the Zip code is not behaving as expected.

    https://snipboard.io/ is a good (online) tool of choice for sharing it here.

    We will be standing by for your response.

    Thread Starter Benedict

    (@trumpetmedia)

    I made a short video. I just muted the audio so that you can focus on the screen. I just used the CC 4111 1111 1111 1111 and CVV 123 to show you how the postal code and zip code works on checkout.

    Thread Starter Benedict

    (@trumpetmedia)

    I did create a new fresh WordPress with only 2 Plugins and 1 product. I only install and activate 1 theme Twenty Twenty-Three.

    Let me know what you need to do. We can’t still work the zip code (postal code) for canada.

    Thanks

    Plugin Support Paulo P – a11n

    (@paulostp)

    Hello,

    Thanks for providing the screen recording. I was able to reproduce the behavior you described and have reported it to the developer team for investigation. You can unpublish the Loom videos now.

    In case you would like to be notified when a fix is published, 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.

    Thanks!

    Thread Starter Benedict

    (@trumpetmedia)

    Hi Paulo, I would like to follow up the updates if the error in zipcode has been resolved?

    Thanks,

    Ben

    Hi @trumpetmedia

    I understand that you would like to know if there are updates regarding the issue here. As advised by Paulo above, please open a support request for us to address you more effectively.

    Thanks!

    Plugin Support Paulo P – a11n

    (@paulostp)

    Hello @trumpetmedia,

    I’ve sent this via email, but I’m also sharing the information here for the community.

    Turns out this is the expected behavior when using Square’s test cards in sandbox mode. When you use the test card 4111 1111 1111 1111 you’re using a US card, so the credit card form will behave accordingly.

    If you want to test how the credit card form behaves for a Canadian card — as Square has no Canada-specific test card for sandbox mode — you can insert a valid Canadian card but not complete the transaction.

    Here’s a relevant link from Square support addressing the same issue with Australian cards: https://developer.squareup.com/forums/t/card-payment-without-zip-code-sandbox/6956/2

    Hope this clarifies the issue! I’m closing this topic now. Please open a new topic if additional assistance is required.

    Cheers!

    Thread Starter Benedict

    (@trumpetmedia)

    Hi Paulo,

    It worked!.

    Thanks,

    Ben

    Hi,

    Glad to hear that my colleague helped you out.

    This is optional, if you have a few minutes, we’d appreciate it if you could share your experience with the community by leaving a review.

    Kind regards.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Cannot Enter Canada Postal Code’ is closed to new replies.