When I try to register a card with the SDK on the sandbox environnement, the callback is never called, even with a false card number.
I tried with every card registration method available, none of them works.
In your SDK, the flow is working until getTokenSuccess method which never callback the serviceCallback.
//on MangoPay.java
private void getTokenSuccess(String response) {
CardRegistrationInteractor.Callback serviceCallback = new CardRegistrationInteractor.Callback() {
@Override public void onCardRegistrationSuccess(CardRegistration response) {
//NEVER PASS HERE
cardRegistrationSuccess(response);
}
@Override public void onCardRegistrationError(MangoException error) {
//NEVER PASS HERE
cardRegistrationError(error);
}
};
I will have to pass the card information to my backend even if this is not allowed, no choices ...
When I try to register a card with the SDK on the sandbox environnement, the callback is never called, even with a false card number. I tried with every card registration method available, none of them works.
In your SDK, the flow is working until
getTokenSuccess
method which never callback theserviceCallback
.I will have to pass the card information to my backend even if this is not allowed, no choices ...