#ajay-error
1 messages · Page 1 of 1 (latest)
Hi! All PHP errors related to Stripe are listed here: https://stripe.com/docs/api/errors/handling?lang=php
Thanks
I think use only Stripe\Exception\ApiErrorException is sufficient?
I am using stripe
Location
Reader
Checkout Session
Account
Product
Subscription
Well each exception handles a different type of error
ok thank you
I have another question
I am using terminal
I can register and delete too
but before delete I am checking if terminal is there or not using api
$terminal = $stripe->terminal->readers->retrieve(
but it gives error
ERROR: No such reader: 'tmr_xxxx' {"exception":"[object] (Stripe\Exception\InvalidRequestException(code: 0)
I just want check if terminal exists then delete
Then you should handle that InvalidRequestException exception
As that Terminal Reader doesn't exist! I don't understand
Ok
thank you for all help
Sure, np!