• Resolved bouncern

    (@bouncern)


    ref. ‘Resolved’ topic “Sofort Button – Legitimate? URGENT” (opened April 7th 2021)

    Hello,

    We too need to remove this SOFORT button from PayPal, but your resolution of “Add the following filter to your WP instance… ” is not something we are confident of doing.

    Can you not make this an option on the Woocomerce >> Payments settings?

    I suspect that there will many others in our position who need an ‘non-hacking’ solution too!

    Many thanks,
    Nick

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @bouncern

    Thanks for getting in touch about our Braintree plugin. I’m happy to help out here ??

    Our engineers have investigated this and have concluded that for a short-term solution, adding an option to uncheck Sofort in WooCommerce > Payments may not be the best way forward.

    This is because PayPal options are generated based on the customer’s eligibility and which PayPal buttons are loaded is controlled by them via things like geolocation. So we would have to add an option for each PayPal payment method, which would be a huge amount and would not be user-friendly.

    A longer-term solution would require more investigation as we’d have to query them on PayPal with an API call. This is something that our product team needs to look into more.

    In the meantime, the filter is a short-term solution for merchants who would like to disable that.

    That said, I’ll be happy to provide detailed instructions on how to implement the filter.

    How does that sound?

    Thanks!
    Christine

    Thread Starter bouncern

    (@bouncern)

    Thanks for your reply Christine – I still don’t really understand why the sofort button is displaying for non-German customers/sites (eg. it displays on our UK and USA sites for local custiomers)?

    however, for the time being, please could you send me some detailed instructions on the filter solution (and I’ll find an IT person who has the confidence to implement it!)

    Many thanks,

    Nick

    I

    @bouncern

    That’s quite interesting that Sofort is showing for non-German customers! Though I recommend reaching out to PayPal for that as they control which payment options show up for your customers. If they recommend anything to do with the plugin, please let us know and we’ll be happy to review their suggestion ??

    Please find the instructions here at the section wc_braintree_paypal_disabled_funding_options: https://docs.woocommerce.com/document/braintree-for-woocommerce-action-and-filter-hooks/#section-15

    Would you please let me know if that helps you out? I’d be happy to provide more detail if you’d like!

    Thanks!

    Thread Starter bouncern

    (@bouncern)

    Hi Christine,

    Sorry, but I’m completely lost here!

    ————————-
    1. (ref.

    “Please find the instructions here at the section wc_braintree_paypal_disabled_funding_options: https://docs.woocommerce.com/document/braintree-for-woocommerce-action-and-filter-hooks/#section-15)”

    Where do we put these filters/hooks (or whatever they are!)?

    2. In the other thread, you stated:

    “Add the following filter to your WP instance, replacing {funding} with the value copied above. Here I’ve already replaced ‘funding’ with ‘sofort’ for you:”

    This is different to the first point above? And what is “…your WP instance”?
    ————————-

    As I originally mentioned, I’m afraid you’re dealing with very inexperienced people here!

    Many thanks,
    Nick

    @bouncern

    Hi Nick!

    I’m sorry for not being clearer! Please try the example snippet and instructions below:

    1. Install the Code Snippets plugin to your site: https://www.ads-software.com/plugins/code-snippets/
    2. Once the Code Snippets plugin is activated, from your WordPress admin, go to Snippets > Add New.
    3. For the title, enter: Braintree disable Sofort.
    4. For the code, please copy and paste this:
    5. add_filter( 'wc_braintree_paypal_disabled_funding_options', function( $disabled_funding_options ){
      
          $disabled_funding_options[] = 'sofort';
          return $disabled_funding_options;
      
      });
    6. Enable Run snippet everywhere. (This should be enabled by default)
    7. Click Save Changes and Activate.

    Could you please try that and let me know how it goes?

    Thanks!
    Christine

    @bouncern

    Hi Nick,

    It has been a long time since we heard from you, so I’m going to mark this topic as resolved.

    If you’re still experiencing issues please take a look at our documentation for more information and create a new thread if you have further questions.

    Thanks,
    Christine ??

    Thread Starter bouncern

    (@bouncern)

    Christine,

    Sorry for the late, late reply – we’ve only just got around to installing it, and the good news is it all works perfectly!

    Many thanks for all your help and patience!

    Rgds,
    Nick

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sofort Button’ is closed to new replies.