Function was written in JS but content inside is HTML…

Job ID: 30980043

Budget: $30 – $250 AUD

When I have fastest tidio chat enabled. The credit card fields don't work on the checkout

https://wordpress-622524-2022646.cloudwaysapps.com/checkout/

Problem is with function load_braintree_credit_card_payment_form_handler()

It is a conflict between Tidio fastest chat and Braintree Payment Gateway

I believe the problem is that the function was written in JS but content inside is HTML… see screenshots

https://pasteboard.co/K8iwrfB.jpg
https://pasteboard.co/K8iwOoo.jpg

I DO NOT want changes to be made to either plugin.
Related categories: PHP HTML WooCommerce Plugin