title: Braintree Sandbox Testing (fake nonces)
body: <p>I am testing the Braintree sandbox (PHP) and even though I am using a fake-nonce, the transactions still show goes through <strong>valid</strong></p>
  
  <p>I have a dropin frontend and a PHP Backend</p>
  
  <p>My backend code for testing looks like below: </p>
  
  <pre><code>$amount = '12.00';
  $nonce = 'fake-processor-declined-visa-nonce';
  $result = Braintree_Transaction::sale(['amount' =&gt; $amount, 
                                         'paymentMethodNonce' =&gt; $nonce, 
                                         'options' =&gt; ['submitForSettlement' =&gt; true]
                                        ]);
  $debug = get_object_vars($result);
  print_r($debug);
  </code></pre>
  
  <p>outcome</p>
  
  <pre><code>Array
  (
      [success] =&gt; 1
      [transaction] =&gt; Braintree\Transaction Object
          (
              [_attributes:protected] =&gt; Array
                  (
                      [id] =&gt; 9bnyb32r
                      [status] =&gt; submitted_for_settlement
                      [type] =&gt; sale
                      [currencyIsoCode] =&gt; EUR
                      [amount] =&gt; 12.00
                      [merchantAccountId] =&gt; somenamehere
                      [subMerchantAccountId] =&gt; 
                      [masterMerchantAccountId] =&gt; 
                      [orderId] =&gt; 
                      [createdAt] =&gt; DateTime Object
  </code></pre>
  
  <p>I assued the fake nouces are there for testing error outcome in the sandbox...or am I missing something</p>
  
  <p><a href="https://developers.braintreepayments.com/reference/general/testing/php#test-amounts" rel="nofollow">https://developers.braintreepayments.com/reference/general/testing/php#test-amounts</a></p>