• Resolved flyartcom

    (@flyartcom)


    Hello Support

    As I had to switch to Woocommerce PayPal Payments I run once again into the issue that the credit card form on the checkout page does not reflect the correct country (in my case Switzerland).
    With the prior plugin I could set to correct locale by using this snippet:

    add_filter('woocommerce_paypal_express_checkout_paypal_locale','set_default_language_paypal_express');
    
    function set_default_language_paypal_express()
    {
        return 'fi_FI';
    }

    Now I’m desperately searching for a similar snippet in order to once more solve an issue already solved.

    Thanks in advance
    Pascal

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @flyartcom,

    A filter like this is not available in PayPal Payments because it does not set the button locale. PayPal Checkout forces the PayPal buttons to the WordPress locale (or the one set with the filter you mentioned) while with the new integration, PayPal automatically sets the locale.

    That being said, our next update improves the smart card field handling and transmits the WooCommerce checkout fields to the card fields. So ideally, users will no longer be presented with additional fields beyond the card details in the smart card fields. This information is now taken from the checkout fields and handled in the background.

    Only when you disable most of the WooCommerce checkout fields, then PayPal may request more billing information. Also, PayPal may still require some users to create a PayPal account for credit card payments. But for the vast majority of credit card checkouts, the behavior should be more streamlined following the next update.

    There is a pre-release version available on GitHub if you would like to give it a try: https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/1.7.0-test1
    This version is not yet meant for use on a production site though as is it currently being tested for an official release in the second half of the month.

    Kind regards,
    Niklas

    Thread Starter flyartcom

    (@flyartcom)

    Hi Niklas

    Thank you for your fast reply and clarification. As the planned improvements for the next release seem even better than what I expected it will be worth the wait!

    Sincerely,
    Pascal

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

The topic ‘Set Credit Card form to Swiss German’ is closed to new replies.