Commit 0e9537b5 authored by Mark Harding's avatar Mark Harding

(chore): disable braintree webhook - closes #771

parent 3f2c0632
No related merge requests found
Pipeline #77816572 waiting for delayed job with stages
in 11 minutes and 53 seconds
......@@ -32,7 +32,7 @@ class braintree implements Interfaces\Api, Interfaces\ApiIgnorePam
{
error_log("[webhooks]:: hit first entrace point");
$gateway = isset($pages[0]) ? $pages[0] : 'default';
/*$gateway = isset($pages[0]) ? $pages[0] : 'default';
$bt = Payments\Factory::build('braintree', ['gateway'=>$gateway]);
......@@ -42,7 +42,7 @@ class braintree implements Interfaces\Api, Interfaces\ApiIgnorePam
$webhooks = new Payments\Braintree\Webhooks($hooks, $bt);
$webhooks->setSignature($_POST['bt_signature'])
->setPayload($_POST['bt_payload'])
->run();
->run();*/
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment