I am using braintree sandbox payment in my laravel project.
The problem is when i create transaction it ends up the vault section rather then transaction section.
$result = \Braintree_Transaction::sale([
'customerId' => $brainTreeUser->customer->id,
'amount' => 100,
'paymentMethodNonce' => $client_nonce->paymentMethodNonce->nonce,
'options'=>[
'submitForSettlement'=>true
]
]);
Can someone please help me out.