Comments (2)
@caesar84mx thanks for using the Braintree SDK for Android. Can you provide a screenshot / video of the observed behavior to help us find the root cause of the issue?
from braintree-android-drop-in.
Found and fixed the issue. The problem was that I was creating and calling the client in the same activity as the rest of the app, saving this way, once and forever (until the complete app restart), the same instance of the client with the same braintree token. That's why just relogging in within the same activity didn't work for me and I was using the same client with the same token for a different user. Moving the call to a separate activity (e.g., DropInPaymentActivity
), which implements DropInListener
solved the problem. Thus, a new client's instance is being created with the updated bt token.
from braintree-android-drop-in.
Related Issues (20)
- AddCardFragment crashes upon device rotation with NullPointerException HOT 2
- Drop In wont able back to app HOT 10
- NullPointerException upon returning to app HOT 4
- Paypal payments end with 'User cancelled dropin' HOT 3
- Cardinal SDK configure Error HOT 2
- How set amount of money HOT 1
- Change Language Programmatically in braintree android dropin sdk HOT 3
- Google Play Console warning regarding com.braintreepayments.api:data-collector HOT 6
- Nonce is already consumed HOT 2
- Get Rejected by Google Play because of Violation of User Data, Permissions and APIs that Access Sensitive Information policy HOT 2
- Gradle wrapper jar not recognized by Gradle Wrapper Validation Action HOT 1
- Google is warning removal from Play Store because of Violation of User Data, Permissions and APIs that Access Sensitive Information policies HOT 16
- Upgrade braintree_android to 4.41.0 HOT 6
- UserCanceledException if the app is killed by the system while in background HOT 2
- Why doesn't the PayPalAccountNonce carry the BA token?
- Unable to register DropInClient within coroutines or suspend functions or view model HOT 3
- Crash in braintree HOT 7
- CI Build: Could not resolve cardinalmobilesdk: Received status code 403 from server: Forbidden HOT 2
- NullPointerException in TLSCertificatePinning.getCertInputStream HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from braintree-android-drop-in.