Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ivrrimum

    (@ivrrimum)

    So i debuged and made all payment methods available.

    When i try to checkout it gives me failure.

    Thread Starter ivrrimum

    (@ivrrimum)

    It fails here:

    $result = Braintree_Transaction::sale(array(
    			    "amount" => $order->order_total,
    			    "creditCard" => array(
    			        "number" => $_POST["braintree-card-number"],
    			        "cvv" => $_POST["braintree-card-cvc"],
    			        "expirationMonth" => $_POST["braintree-card-expiry-month"],
    			        "expirationYear" => $_POST["braintree-card-expiry-year"]
    			    ),
    			    "options" => array(
    			        "submitForSettlement" => true
    			    )
    			));
    Thread Starter ivrrimum

    (@ivrrimum)

    New lead,$result variables

    array(3) {
      ["amount"]=>
      string(7) "1205.00"
      ["creditCard"]=>
      array(4) {
        ["number"]=>
        NULL
        ["cvv"]=>
        NULL
        ["expirationMonth"]=>
        string(2) "01"
        ["expirationYear"]=>
        string(4) "2017"
      }
      ["options"]=>
      array(1) {
        ["submitForSettlement"]=>
        bool(true)
      }
    }

    As you can see card number and cvv number is NILL, it is not sent trought ajax, hovewer when i manually type the values in code, it still returns failure.

    Thread Starter ivrrimum

    (@ivrrimum)

    Okey, i have found a method that fails.

    In TransactionGateway _doCreate method in it

    $response = $this->_http->post($fullPath, $params);

    This is what couses the fail. But i cant trace futher, i dont know how.

    Thread Starter ivrrimum

    (@ivrrimum)

    I debuged even futher. HTTP class has a post method,

    When calling this request /merchants/4hr45v4zkhspzfvt/transaction

    It responds with 403 error. Okey final questions is why ? Why would it respond with 403 ?

    Thread Starter ivrrimum

    (@ivrrimum)

    Okey i figured out its a call to paymentsbraintree.com 403 means something is wrong with authorization.

    But why, i have filled in( in admin panel ) all the merchant id’s, private and public keys.

    Can someone help me out ?

    Hello, I have the same issue, did you get this resolved?

    I have same problem. Any luck?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘BrainTree payment method no showing in checkout’ is closed to new replies.