Skip to content

Instantly share code, notes, and snippets.

@saecmca
Last active December 26, 2019 10:58
Show Gist options
  • Save saecmca/c13c537711877f2f916ad715470ad8e3 to your computer and use it in GitHub Desktop.
Save saecmca/c13c537711877f2f916ad715470ad8e3 to your computer and use it in GitHub Desktop.
Citrus save card
this is saved my card
private void savePaymentOption(PaymentOption paymentOption) {
citrusClient.savePaymentOption(paymentOption, new Callback<CitrusResponse>() {
@Override
public void success(CitrusResponse citrusResponse) {
// ((UIActivity) getActivity()).showSnackBar(citrusResponse.getMessage());
Log.w("saved card1==", citrusResponse.getMessage());
}
@Override
public void error(CitrusError error) {
Log.w("saved card2==", error.getMessage());
// ((UIActivity) getActivity()).showSnackBar(error.getMessage());
}
});
}
the error is-- Have you Signed In? Token not found!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment