voidNoValidate() публичный статический Метод

public static voidNoValidate ( $transactionId )
Пример #1
0
 public function testVoid_failsOnDeclinedPayPal()
 {
     $nonce = Braintree\Test\Nonces::$paypalOneTimePayment;
     $result = Braintree\Transaction::sale(['amount' => Braintree\Test\TransactionAmounts::$decline, 'paymentMethodNonce' => $nonce]);
     $this->setExpectedException('Braintree\\Exception\\ValidationsFailed');
     Braintree\Transaction::voidNoValidate($result->transaction->id);
 }