-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canceling the payment directly from the application is not working as expected. #535
Comments
Hi @arbaz8dots can we get some further detail to help investigate further? |
I am experiencing the same issue on version 3.10.1. The payment intent was generated with the status: "PaymentIntentStatus.requiresPaymentMethod".
|
Summary
Cancel payment from application not working
Code to reproduce
Terminal.getInstance().cancelPaymentIntent(paymentIntent!!,object :PaymentIntentCallback{
override fun onFailure(e: TerminalException) {
Android version
Impacted devices (Android devices or readers)
SDK version
3.9.3
Other information
I attempted two methods: first, canceling the payment using the SDK and then clearing the display, and second, canceling the payment through the API followed by clearing the display.
The text was updated successfully, but these errors were encountered: