• Resolved crowesnest

    (@crowesnest)


    RE: WooCommerce PayPal Checkout Payment Gateway Plugin
    I had posted this in the above form but it was suggested that I post it here.

    I live in Canada and all of my customers are in Canada. However, whenever someone wants to pay with a credit card the default country on the local on page form is always set to US. I have struggled with this for years and no one has ever come up with a solution. I have seen a number of fixes but nothing works for me. Mostly I turn off the local on page form and force everyone to click on pay with paypal and have them select credit card payment on the PayPal login form. It is a pain so I would like to use the local on page form. I would certainly like to find a solution to this problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • AJ a11n

    (@amandasjackson)

    Hi @crowesnest

    whenever someone wants to pay with a credit card the default country on the local on page form is always set to US

    Can you please provide a direct URL to view this as well as a screenshot of this.

    I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in your reply. It works with Chrome, Firefox and Edge.

    Thread Starter crowesnest

    (@crowesnest)

    My understanding is that Pay Pal uses the locale code to determine the country. When I looked up the PayPal locale code for Canada they use en_US as the locale code while the BCP-47 code for REST APIs code is en_CA. I’m not sure if this the problem or not.

    https://snipboard.io/37ZdHq.jpg

    Plugin Support Tseten a11n

    (@tibetanitech)

    Thank you for the screenshot. Could you please share a copy of your site’s System Status to understand how your site is configured? 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 crowesnest

    (@crowesnest)

    Here is the status report.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://westviewdance.ca
    Site address (URL): https://westviewdance.ca
    WC Version: 4.1.0
    REST API Version: ? 1.0.7
    WC Blocks Version: ? 2.5.16
    Action Scheduler Version: ? 3.1.5
    WC Admin Version: ? 1.1.1
    Log Directory Writable: ?
    WP Version: 5.4.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_CA
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.6
    PHP Version: 7.0.27 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 600 MB
    PHP Time Limit: 40
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0
    NSS/3.44
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.65-MariaDB
    Max Upload Size: 600 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 4.1.0
    WC Database Prefix: wp_
    Total Database Size: 664.58MB
    Database Data Size: 660.03MB
    Database Index Size: 4.55MB
    wp_woocommerce_sessions: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 0.21MB + Index: 0.15MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + 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.02MB + Index: 0.03MB + Engine InnoDB
    wp_AnythingPopup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cf_forms: Data: 0.22MB + Index: 0.00MB + Engine MyISAM
    wp_cf_form_entries: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_cf_form_entry_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_cf_form_entry_values: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_cf_pro_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cf_queue_failures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cf_queue_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cf_tracking: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cf_tracking_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_comments: Data: 0.08MB + Index: 0.05MB + Engine MyISAM
    wp_eab_bookings: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_eab_booking_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_iwp_backup_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_maxbuttonsv3: Data: 0.13MB + Index: 0.00MB + Engine MyISAM
    wp_maxbuttons_collections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_maxbuttons_collections_trans: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nextend2_image_storage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_nextend2_section_storage: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_nextend2_smartslider3_generators: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_nextend2_smartslider3_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_nextend2_smartslider3_sliders_xref: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_nextend2_smartslider3_slides: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wp_ngg_album: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_ngg_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_ngg_pictures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 1.85MB + Index: 0.09MB + Engine MyISAM
    wp_popover_ip_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_postmeta: Data: 635.38MB + Index: 2.37MB + Engine MyISAM
    wp_posts: Data: 20.88MB + Index: 0.61MB + Engine MyISAM
    wp_sg_popup_addons_connection: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_snippets: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_usermeta: Data: 0.32MB + Index: 0.24MB + Engine MyISAM
    wp_users: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_wcsp_group_category_pricing_mapping: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wcsp_role_category_pricing_mapping: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wcsp_user_category_pricing_mapping: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woo_schedule_category: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpgmza: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_category_maps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_circles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpgmza_datasets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_maps: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_maps_has_custom_fields_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpgmza_markers_has_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_markers_has_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wusp_group_product_price_mapping: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wusp_role_pricing_mapping: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wusp_rules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wusp_subrules: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_wusp_user_pricing_mapping: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    astra-advanced-hook: 1
    attachment: 181
    custom_css: 2
    custom-css-js: 27
    customize_changeset: 18
    event_magic_tickets: 147
    fl-builder-template: 54
    fl-theme-layout: 11
    flamingo_contact: 144
    flamingo_inbound: 175
    hm_custom_javascript: 1
    inc_popup: 1
    ms_communication: 7
    ms_event: 11
    ms_membership: 9
    ms_relationship: 4
    nav_menu_item: 55
    ngg_gallery: 2
    ngg_pictures: 12
    page: 74
    post: 22
    product: 27
    revision: 6055
    shop_coupon: 10
    shop_order: 287
    shop_order_refund: 36
    tablepress_table: 52
    user_request: 1
    wll_records: 1
    wpcf7_contact_form: 16
    wpmem_product: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (55) ###
    
    Dave's Customize Contact 7 forms: by David Crowe – 1.00
    Elite Video Player: by _CreativeMedia_ – 5.9
    Misc_Shortcodes: by David Crowe – 1.0
    PDF Embedder Premium: by Lever Technology LLC – 4.4.1
    WDC Add Suffix to Price - woocommerce: by David Crowe – 1.3.3 – Installed version not tested with active version of WooCommerce 4.1.0
    WDC Shortcodes For woocommerce: by David Crowe – 2.5.3 – Installed version not tested with active version of WooCommerce 4.1.0
    WP-Members-Login-Modal: by Chad Butler and Dave Crowe – 1.03
    WDC Scheduler Date Shortcode For woocommerce: by David Crowe – 1.0 – Installed version not tested with active version of WooCommerce 4.1.0
    WDC Prize Ticket Coupon: by Dave Crowe – 1.3.3
    All-in-One WP Migration Unlimited Extension: by ServMask – 2.37
    All-in-One WP Migration: by ServMask – 7.22
    Astra Pro: by Brainstorm Force – 2.5.0
    Astra Bulk Edit: by Brainstorm Force – 1.2.4
    Astra Widgets: by Brainstorm Force – 1.2.3
    Beaver Builder Plugin (Standard Version): by The Beaver Builder Team – 2.3.2.5
    Beaver Themer: by The Beaver Builder Team – 1.3.1
    Ultimate Addons for Beaver Builder: by Brainstorm Force – 1.26.5
    Contact Form 7 Conditional Fields: by Jules Colle – 1.8.6
    Classic Editor: by WordPress Contributors – 1.5
    Code Snippets: by Code Snippets Pro – 2.14.0
    Honeypot for Contact Form 7: by Nocean – 1.14.1
    Contact Form 7: by Takayuki Miyoshi – 5.1.9
    Simple Custom CSS and JS: by SilkyPress.com – 3.31.1
    Customer Specific Pricing for WooCommerce: by WisdmLabs – 4.4.4 – Installed version not tested with active version of WooCommerce 4.1.0
    Flamingo: by Takayuki Miyoshi – 2.1.1
    FooEvents for WooCommerce: by FooEvents – 1.10.5 – Installed version not tested with active version of WooCommerce 4.1.0
    FooEvents Custom Attendee Fields: by FooEvents – 1.3.1
    Import and export users and customers: by codection – 1.15.6.2
    Nav Menu Roles: by Kathy Darling – 1.10.1
    Payment Gateways per Products for WooCommerce: by WPWhale – 1.2.3 – Installed version not tested with active version of WooCommerce 4.1.0
    Recent Posts Widget Extended: by Satrya – 0.9.9.7
    Smart Slider 3: by Nextend – 3.3.28
    TablePress Extension: Row Filtering: by Tobias B?thge – 1.3
    TablePress Extension: Turn off Output Caching: by Tobias B?thge – 1.0
    TablePress: by Tobias B?thge – 1.11
    WDC Add Custom Event Fields in woocommerce: by David Crowe – 2.6.1 – Installed version not tested with active version of WooCommerce 4.1.0
    WDC Modifications For woocommerce: by David Crowe – 1.4.9 – Installed version not tested with active version of WooCommerce 4.1.0
    WDC Modifications For WordPress: by David Crowe – 1.2
    When Last Login: by Yoohoo Plugins – 1.2
    Checkout Field Editor for WooCommerce: by ThemeHigh – 3.0.9 – Installed version not tested with active version of WooCommerce 4.1.0
    WooCommerce Extra Product Options Pro: by ThemeHigh – 2.3.7 – Installed version not tested with active version of WooCommerce 4.1.0
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.21 – Installed version not tested with active version of WooCommerce 4.1.0
    Advanced Order Export For WooCommerce (Pro): by AlgolPlus – 3.1.4 – Installed version not tested with active version of WooCommerce 4.1.0
    WooCommerce Order Status Control: by SkyVerge – 1.12.3 – Installed version not tested with active version of WooCommerce 4.1.0
    Scheduler for WooCommerce: by Wisdmlabs – 2.1.3 Update – Installed version not tested with active version of WooCommerce 4.1.0
    WooCommerce Sequential Order Numbers: by SkyVerge – 1.9.5 – Installed version not tested with active version of WooCommerce 4.1.0
    WooCommerce: by Automattic – 4.1.0 (update to version 4.1.1 is available)
    WooPack for Beaver Builder: by Team IdeaBox - Beaver Addons – 1.3.8.1 – Installed version not tested with active version of WooCommerce 4.1.0
    WP Google Maps - Pro Add-on: by WP Google Maps – 7.11.68
    WP Google Maps: by WP Google Maps – 8.0.23
    WP Lightbox Ultimate: by Tips & Tricks HQ – 2.2.5
    WP-Members: by Chad Butler – 3.3.4.2
    WP Rollback: by impress.org – 1.7.0
    WP Video Lightbox: by Tips and Tricks HQ
    Ruhul Amin – 1.8.9
    
    ReCaptcha v2 for Contact Form 7: by IQComputing – 1.2.6
    
    ### Inactive Plugins (4) ###
    
    PDF Embedder: by Lever Technology LLC – 4.6
    User Role Editor: by Vladimir Garagulya – 4.54
    WooCommerce Blocks: by Automattic – 2.5.15 – Installed version not tested with active version of WooCommerce 4.1.0
    WP Force SSL: by WebFactory Ltd – 1.55
    
    ### 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: ?
    
    ### WC Pages ###
    
    Shop base: #1632 - /shop/
    Cart: #1633 - /cart/
    Checkout: #1634 - /checkout/
    My account: #1635 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: westviewdance
    Version: 1.0.0
    Author URL: https://wpastra.com/about/
    Child Theme: ?
    Parent Theme Name: Astra
    Parent Theme Version: 2.4.4
    Parent Theme Author URL: https://wpastra.com/about/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 52
    Oldest: 2020-04-23 06:59:52 -0500
    Newest: 2020-05-16 10:16:41 -0500
    
    

    @crowesnest – I’m fairly positive I urged you to open a thread on this forum when I saw you post in the PayPal Checkout forum for this issue. I apologize, as I thought you were referring to the default country in the billing/shipping details of the WC checkout form.

    Rather than punt you back to the PayPal Checkout forum, we can do this here..
    This is not so much a missing setting, but is actually related to two current bugs:

    Sorry for the trouble, but let us know if you have any further questions! ??

    – Joey

    Plugin Support Tseten a11n

    (@tibetanitech)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Credit Card Payment always defaults to US’ is closed to new replies.