Where can the logic|code that makes the API call to Braintree be found?
Going with the debugger only takes me to minified non-redeable js. Beautifying the js is not of much help either.
I imagine that at a certain point an api call to braintree|paypal is made with information about the order (e.g grand total).
Where is the logic of this call found? Should I keep looking through js files or should I start looking through php files?
Setting a breakpoint on index.php when the button is clicked does not help as the execution does not arrive at index.php ( The debugger works )