You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the react console nor success nor errors.
After debagging android code figured out that Braintree lib give exception:
com.braintreepayments.api.exceptions.AuthorizationException: You are unauthorized to perform input validation with these authentication credentials.
Debuger point on the: @OverRide
public void failure(Exception exception) {
fragment.postCallback(exception);
fragment.sendAnalyticsEvent("card.nonce-failed");
}
Exception in postCallback from the BraintreeFragment.
The text was updated successfully, but these errors were encountered:
mArgument in that fragment: Bundle[{com.braintreepayments.api.EXTRA_INTEGRATION_TYPE=custom, com.braintreepayments.api.EXTRA_SESSION_ID=555b135dbbab4a12958a9037d3a492e8, com.braintreepayments.api.EXTRA_AUTHORIZATION_TOKEN=}]
After successful setup unable to get nonce for custom.
XPLATlient.setup(braintreeDemoToken)
.then(function (success) {
console.log('XPLATlient setup success', success);
})
.catch(function (err) {
console.log('XPLATlient setup err', err);
//error handling
});
const card = {
number: "4111111111111111",
expirationDate: "10/20", // or "10/2020" or any valid date
cvv: "400",
}
XPLATlient.getCardNonce(card)
.then(function (nonce) {
console.log('XPLATlient nonce', nonce);
})
.catch(function (err) {
console.log('XPLATlient err', err);
//error handling
});
In the react console nor success nor errors.
After debagging android code figured out that Braintree lib give exception:
com.braintreepayments.api.exceptions.AuthorizationException: You are unauthorized to perform input validation with these authentication credentials.
Debuger point on the:
@OverRide
public void failure(Exception exception) {
fragment.postCallback(exception);
fragment.sendAnalyticsEvent("card.nonce-failed");
}
Exception in postCallback from the BraintreeFragment.
The text was updated successfully, but these errors were encountered: