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
Terminal.getInstance().cancelPaymentIntent(paymentIntent!!,object :PaymentIntentCallback{
override fun onFailure(e: TerminalException) {
}
override fun onSuccess(paymentIntent: PaymentIntent) {
Terminal.getInstance().clearReaderDisplay(object :Callback{
override fun onFailure(e: TerminalException) {
}
override fun onSuccess() {
}
})
}
})
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:
arbaz8dots
changed the title
Cancel payment from application not working
Canceling the payment directly from the application is not working as expected.
Dec 2, 2024
Hi @arbaz8dots can we get some further detail to help investigate further?
Some helpful information would be: stack trace, PI ids, reader serial number and more details on the reproduction steps. Also, can you include what you feel the expected behavior should be?
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: