• Resolved michaelwellnerwp

    (@michaelwellnerwp)


    On my website I have three payment options: PayPal, credit card and SOFORT. When my user makes his first order, for example by SOFORT and later would like to make a second order then “SOFORT” is remembered as payment method. On the checkout page of his second order the order button is a button with the text “SOFORT”. So payment via SOFORT is set as default.
    How do I achieve that the payment method does NOT get remembered after an order has been made?

Viewing 1 replies (of 1 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @michaelwellnerwp,

    The pre-selection of a payment method for a returning customer is functionality controlled by WooCommerce and not the Braintree plugin.

    When the checkout page is rendering, WooCommerce looks to see if the customer’s sessions contains a value called chosen_payment_method. If that value exists, then WC set’s the default payment method to that value.

    You would need to use the hooks and filters provided by WC to unset the default payment method.

    An action you could use is woocommerce_review_order_before_payment which is triggered in the templates/checkout/payment.php file.

    Kind Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘I do not want payment method to be remembered’ is closed to new replies.