braintree_android: SamsungPayStartError: PaymentMethod Error
SDK/Library version: 4.23.1 Environment: Production Android Version and Device: Android Studio Electric Eel | 2022.1.1; Samsung S20 with Android 11.0 Braintree dependencies: implementation ‘com.braintreepayments.api:card:4.23.1’ implementation ‘com.braintreepayments.api:google-pay:4.23.1’ implementation ‘com.braintreepayments.api:samsung-pay:4.23.1’ implementation ‘com.braintreepayments.api:venmo:4.23.1’ implementation ‘com.braintreepayments.api:data-collector:4.23.1’ implementation ‘com.braintreepayments.api:paypal:4.23.1’ To Reproduce Steps to reproduce the behavior:
Implemented Samsung Pay 2.Tap Pay, select card See error below. //error = {JSONException@31792} “org.json.JSONException: No value for paymentMethod”
@Override
public void onSamsungPayStartError(@NonNull Exception error) {
//error = {JSONException@31792} "org.json.JSONException: No value for paymentMethod"
//Error is here <---------------
}
Expected behavior Expected to end at onSamsungPayStartSuccess method.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (7 by maintainers)
@yarodevuci thanks I just noticed this. I made a separate PR to address.
Thanks for this feedback. That library has been problematic. Making a PR to revert the version https://github.com/braintree/braintree_android/pull/674.
Hi @yarodevuci this update is now available in 4.25.0!