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.');
}
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.');
}