简体   繁体   中英

Braintree partial settlement not working

Braintree Partial Settlement not working for this code .If I write this code the page set blank with no error or no message.

Braintree\Transaction::submitForPartialSettlement('transaction_id', '10.00');

please give answer if anyone have idea.

Multiple partial settlements are only available for PayPal transactions.

$result = Braintree_Transaction::submitForPartialSettlement('theParentAuthTransactionId', '10.00');

    if ($result->success) {
        $settledTransaction = $result->transaction;
    } else {
        print_r($result->errors);
    }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM