• Resolved tejhog

    (@tejhog)


    hello, a ‘pay with sofort’ button has appeared underneath the ‘pay with paypal’ button on all my sites using your plugin.

    This does not look legitimate and i am concerned where it is coming from, does not seem to be any settings to toggle it on/off. I have redownloaded your plugin and done a clean install but still showing.

    please advise ASAP

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi @tejhog,

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

    That’s quite interesting because while Braintree themselves supports Sofort, our plugin only has credit card, PayPal, and Apple Pay options.

    Do you happen to have any other payment gateways installed on your site? For instance, Woocommerce Stripe includes a payment button for Sofort.

    For a bit of context, Sofort is a payment provider available in Austria, Belgium, Germany, Italy, Spain, and the Netherlands.

    Thanks!
    Christine

    Thread Starter tejhog

    (@tejhog)

    no there are no other gateways installed, just Braintree card and Braintree Paypal through this plugin.

    the same has happened on 3 websites simultaneously. Could you look into where this is coming from urgently?

    Hi @tejhog

    Thanks for confirming that! One of our engineers looked into this and Braintree for WooCommerce 2.5.0 changed how PayPal buttons are loaded which is now controlled by PayPal.

    Before 2.5.0, we used to select the payment methods to show, but now PayPal chooses it according to the customer eligibility and geolocation.

    Since you’re seeing the Sofort button, your shop is based in Europe in one of the countries with Sofort is supported, is that right? So it’s expected that you see the Sofort button now based on your location.

    To remedy this, our engineers are working on a solution to allow merchants to still be able to disable some PayPal buttons for their location. I’m not sure of the exact timeline yet, but this is in progress and will be deployed with the next release!

    Please be sure to update your plugin once the next release is available. Thanks for bringing this to our attention!

    Is there anything else I could help with?

    Best,
    Christine

    Thread Starter tejhog

    (@tejhog)

    Ok, thanks for your help so far.

    It would also be a good idea to be able to hide the ‘pay with credit card’ button that now also appears under the PayPal button. Because we want the customer using card to use the dedicated Braintree card method as the rate through PayPal is generally higher!

    Please let me know when you have an eta for the release.

    Hey @tejhog

    I’m not sure the ETA at this point, though it’s moved from ‘in progress’ to ‘in review’ now. I’ll check with the developer who’s working on this and will get back to you.

    For the credit card button, are you referring to the pay with credit card via Paypal button?

    Thanks!
    Christine

    Thread Starter tejhog

    (@tejhog)

    Yes, so there are 3 buttons currently in the PayPal section. Pay with PayPal, pay with sofort, pay with credit card.

    We just need to show pay with PayPal there, nothing else.

    Hi @tejhog

    Thanks for confirmating! I’ll add this suggestion to the report as well! I’ll follow up when I get an ETA for the Sofort issue.

    In the meantime, is there anything else I could help with?

    Thanks!
    Christine

    Hi @tejhog

    For the release, we’re aiming for this Friday barring any issues.

    I recommend keeping an eye on the changelog, and checking out?our email newsletter, as we send out regular development updates.

    Best,
    Christine

    Hi @tejhog

    Just an update here ?? Our latest release has an update to allow customizing the PayPal options. Please update to take advantage of this.

    Changelog
    2021.04.19 – VERSION 2.6.0
    Tweak – Add a filter to allow customizing the disabled funding PayPal options
    Fix – Prevent a PHP notice triggered while trying to access the cart object too early in a request

    Is there anything else I could help with?

    Thanks!
    Christine

    Thread Starter tejhog

    (@tejhog)

    i have updated the plugin but can see no new way to adjust this setting on the woo > settings > payments > Braintree (PayPal) page, where is the setting located?!

    Hi @tejhog

    Thanks for your patience here as I needed to get the instructions! This will have to be done via a filter. In review, we’ve found that adding an option to uncheck Pay with Sofort may not be the best direction, so for your specific issue, adding a filter was the quickest and best solution.

    Here are the steps on how to deactivate Pay for Sofort:

    1. Add any product to your cart and proceed to checkout.
    2. You may be seeing a couple of PayPal buttons that are specific to your geolocation/country eligibility, so we want to pick a button to disable.
    3. Inspect any of the buttons and search for a parent with the data-funding-source attribute.
    4. Copy its value (sofort, in your case).
    5. 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:

    add_filter( 'wc_braintree_paypal_disabled_funding_options', static function( $options ) {
      return [ 'sofort' ];
    } );

    6. Refresh the checkout page and the button you disabled should not be visible anymore.

    Is there anything else I could help with?

    Thanks,
    Christine

    Plugin Support Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    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 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Sofort Button – Legitimate? URGENT’ is closed to new replies.