title: Braintree Paypal works in Sandbox but not production
body: <p>I am using Paypal/Braintree with PHP sdk and setting up Vault flow to create subscriptions. It all worked fine in Sandbox but now in product I get error code 93108, message: Unknown paymentMethodNonce.</p>
  
  <p>My client side code is:</p>
  
  <pre><code>braintree.setup(GFormVATVars.br_client_token, "paypal", {
                  container: "paypal-container",
                  singleUse: false,
                  onPaymentMethodReceived: function (obj) {
                      $(".gform_next_button").show();
                      $("span#br_pp_message").html('&lt;img height="15" width="15" src="'+GFormVATVars.spinner_gif+'"/&gt;');
                       $.post(GFormVATVars.ajaxurl,{action: 'process_br_pp_payment_token',token: obj.nonce,security: GFormVATVars.security},function(response) {
                          $("span#br_pp_message").html(response);
                      });
                      return;
                  }
              });
  </code></pre>
  
  <p>In the Ajax request I save the nonce, and then use it in the Braintree_Customer::create</p>
  
  <p>My server side code is:</p>
  
  <pre><code>$cargs = array(
                  'firstName' =&gt; $entry["6.3"],
                  'lastName' =&gt; $entry["6.6"],
                  'company' =&gt; $entry["18"],
                  'email' =&gt; $entry["7"]
  $cargs['paymentMethodNonce'] = $_SESSION['wswp_payment_token'];
  
                                  file_put_contents(dirname(__FILE__)."/logbeforectry.php",print_r($cargs,true));
                                  try {
  
                      // Configure Braintree environment
                      Braintree_Configuration::environment( strtolower( $settings['environment'] ) );
                      Braintree_Configuration::merchantId( $settings['merchant-id']);
                      Braintree_Configuration::publicKey( $settings['public-key'] );
                      Braintree_Configuration::privateKey( $settings['private-key'] );
                                      $cresult = Braintree_Customer::create($cargs);
                                      file_put_contents(dirname(__FILE__)."/logcresult.php",print_r($cresult,true));
                                  }
                                 catch( Exception $e ) {
                                  file_put_contents(dirname(__FILE__)."/catchcresult.php",print_r($e-&gt;getMessage(),true));
                      // Do nothing with exception object, just fallback to generic failure
                  }
  </code></pre>
  
  <p>It brings back the error response as described above. I have checked and the parameters for $cargs are all filled as they should be, including the fact that the nonce has the value of the payment_method_nonce filled after logging in via the popup. The strange thing is that if you hit the button and authorize again it works. Please help I am tearing my hair out with this one.</p>