VenmoAccountNonce is empty when call `venmoApi.createNonceFromPaymentContext()` requesting VenmoAccountNonce using VenmoResult
General information
- SDK/Library version: 4.16.0
- Environment: Sandbox
- Android Version and Device: Redmi Note 11T Pro with Android 12
- Braintree dependencies: implementation 'com.braintreepayments.api:venmo:4.16.0' implementation 'com.braintreepayments.api:data-collector:4.16.0'
Issue description
I am integrating Venmo Payment using Android SDK v4 , testing with venmo sandbox_app.
And I encountered a problem : the VenmoAccountNonce returned from fun onVenmoSuccess(venmoAccountNonce: VenmoAccountNonce) has empty data.
Here is the details
-
demo code is below , and it will launch the venmo app successfully
val request = VenmoRequest(VenmoPaymentMethodUsage.MULTI_USE) request.profileId = VenmoHelper@ this.profileId request.shouldVault = false venmoClient?.tokenizeVenmoAccount(fragmentActivityWeakReference?.get()!!, request) -
It will return
VenmoResultcorrectly. And hasusername、nonce、paymentContextId
-
Then it will request
venmoApi.createNonceFromPaymentContext()withpaymentContextId. The step will be successful , but data is empy.
How to reproduce 1、Install Pay-with-Venmo App for testing sandbox 2、Install Demo app and open,and select venmo and click venmo to pay 3、waiting the result, nonce and user name is null both
https://user-images.githubusercontent.com/114127274/191673107-79558881-3ef0-47c9-8e5b-e646a581f974.mp4
👋 Hi @qluanbytedance - we are looking into this issue and will keep you posted!
Hi @qluanbytedance does this issue still occur in the latest 4.26.1 version?
Closing due to inactivity. @qluanbytedance - please re-open this thread if the issue persists.