braintree / braintree-android-drop-in

Braintree Drop-In SDK for Android
https://developers.braintreepayments.com/guides/drop-in/android/v2
MIT License
124 stars 79 forks source link

Why doesn't the PayPalAccountNonce carry the BA token? #466

Closed mattaojie closed 3 months ago

mattaojie commented 4 months ago

Is your feature request related to a problem? Please describe.

Recently, we've been implementing PayPal reference transactions on our website. When integrating drop-in and using the vault flow on Android, our server requires the client to pass a token starting with "BA". However, after successful authorization and returning to the app, I noticed that the PayPalAccountNonce does not contain such a value. In iOS, the clientMetadataId obtained meets this requirement, but the format of the clientMetadataId obtained in Android is different. So, how can we obtain the BA token in Android?

Describe the solution you'd like.

No response