Replace jquery.removeOnce with once.remove

Created on 29 September 2023, 12 months ago
Updated 14 March 2024, 7 months ago

Problem/Motivation

When multiple payment options are enabled for braintree (paypal and cc) switching payment methods causes a failure.
In the console this error shows up: Uncaught TypeError: $form.removeOnce is not a function

Steps to reproduce

  • Enable multiple Braintree methods for one payment method
  • Get to checkout
  • Change from paypal to card
  • Fill out shipping info etc
  • Click review
  • Nothing happens

Proposed resolution

Replace removeOnce with once.remove

Remaining tasks

Review

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany rgpublic DΓΌsseldorf πŸ‡©πŸ‡ͺ πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024