flutter-braintree icon indicating copy to clipboard operation
flutter-braintree copied to clipboard

PayPal requesting nonce is not returning PayerId

Open NancyKashyap-Stride opened this issue 3 years ago • 0 comments

Please find below code which is used to request PayPal and get nonce. Request is working fine and handling call back in the app but response doesn't contain PayerId. What's the best way to fetch payerId? Note: not using drop-in ui.

BraintreePaymentMethodNonce result = await Braintree.requestPaypalNonce( '<Insert your tokenization key or client token here>', request, ); if (result != null) { print('Nonce: ${result.nonce}'); } else { print('PayPal flow was canceled.'); }

NancyKashyap-Stride avatar Nov 12 '21 00:11 NancyKashyap-Stride