#Jitendra
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
while cancel action API call for remove display amount from terminal
i'm calling this api after cancel payment intent
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_hpJB31CKnt60uO
i just want to remove the display amount from the reader.. if i cancel the payment
i have called cancel payment intent
after this i'm calling cancel action API as suggested in doc
but i'm getting this error
Reader is currently processing a transaction from a different integration mode
would you please suggest,, why i'm getting this error
POST /v1/terminal/readers/tmr_EKBegYziIqs8TM/cancel_action
How does you Terminal integration look like?
integration is ok... i can make payment with terminal in positive case..
but if i cancel the payment then i have to remove displayed amount from the reader
so i called the cancel action api....
at the time.. i'm getting this error
would you please let me know in which case this erorr is occoured
any suggestion?
I mean, are you using a JavaScript SDK integration, or iOS/Android, or Server-driven?
server-driven
Please delete your secret key from the chat
I deleted the message for you
That's how you're cancelling it, but how do you accept payments?
Sounds like your Reader is engaged in activity initiated from a different integration (not server-side, which is what that API you called)
Can you share details on how you handle payments with Terminal today?
i'm creating the requet through the this.terminal.connectReader(this.selectedReader)
with sdk process
Yes, that's a non- server flow. The cancel_action API is for server-driven flows
You need to call cancelCollectPaymentMethod() instead: https://stripe.com/docs/terminal/references/api/js-sdk#cancel-collect-payment-method
you mean we have to call cancel collect payment instead of cancel_action service driven
we can not canel action by passing terminal id?
from server side call
You could if you were using a complete server-driven integration, but you're not
https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=server-driven
so in cancelCollectPaymentMethod do we need to pass payment intent id.. i mean how will it cancel the payment...
You call it on the Terminal connection/instance you've initiated in your code
okay