Hi @carmestaffer ! Thanks for your answer.
I inserted the code on functions.php file but my website shows: “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”
The @WCFM forum suggests to add this plugin here (which seems to be the right answer): https://drive.google.com/file/d/1QkX7-ptpvdYyYJ8mm7Z1qk1qws6fLYFS
but I don’t really know how to adjust it so that Braintree can function as a payment option.
Any thoughts?