braintree / braintree_php_example

An example Braintree integration for PHP
MIT License
126 stars 94 forks source link

Is it possible for result success to be true and transaction to be null ? #25

Closed zashton closed 7 years ago

zashton commented 7 years ago

checkout.php

if ($result->success || !is_null($result->transaction)) {
    $transaction = $result->transaction;
    header("Location: transaction.php?id=" . $transaction->id);
}

I encountered an issue where the result was true and result transaction is empty in production server and it only happens once in awhile.

crookedneighbor commented 7 years ago

@ashtonzheng I would contact our support team about this issue. They will be able to help you. https://developers.braintreepayments.com/forms/contact