Closed (duplicate)
Project:
Commerce Braintree
Version:
8.x-1.5
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
20 Nov 2023 at 11:25 UTC
Updated:
28 Feb 2024 at 20:33 UTC
Jump to comment: Most recent
hey guys,
After updgrading to D10 we started to notice a lot of issues with this $form.removeOnce is not a function in the Detach commerce_braintree function. This happens when user changed form from Credit Cards to Paypal... if only card is used seems to be all fine and dandy...
Also it seems to be related this https://www.drupal.org/project/commerce_braintree/issues/3361193 issue but I feel like the patch did not go deep enough
I wrote this patch hopefully it will sort the issue (it sorted issue for us).
Hope this fix works for others too
Cheers!
| Comment | File | Size | Author |
|---|---|---|---|
| Changing_removeOnce()_issue.patch | 1.33 KB | povilas uogintas |
Comments
Comment #2
viren18febs commentedComment #3
keshavv commentedWorks perfect. We can merge it. Moving to RTBC.
Comment #4
rgpublicSeems like a duplicate of my issue #3390646. Hope one of those will be comitted soon.
Comment #5
nicxvan commentedBoth of them are missing some pieces too so I'm going to combine them on the other one since it already had a merge request set up. I'll reference this ticket for credit purposes.
See: https://www.drupal.org/project/commerce_braintree/issues/3390646 for up to date MR. Please review that one and confirm if it works for you.