pikaju / flutter-braintree

Flutter plugin that wraps the native Braintree SDKs. Enables payments with credit cards, PayPal, Google Pay and more.
https://pub.dev/packages/flutter_braintree
MIT License
64 stars 116 forks source link

PayPal requesting nonce is not returning PayerId #95

Open NancyKashyap-Stride opened 2 years ago

NancyKashyap-Stride commented 2 years ago

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( '', request, ); if (result != null) { print('Nonce: ${result.nonce}'); } else { print('PayPal flow was canceled.'); }