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
I discovered an issue with BotAPI. When sending a refundPayment request for a payment made as part of a recurring subscription, the API responds with a 400 error and the message:
{"ok":false,"error_code":400,"description":"Bad Request: CHARGE_ALREADY_REFUNDED"}
However, the refund itself is processed successfully. The problem lies in the incorrect server response: the bot does not display any notification about the refund, and the stars are simply returned to the user's account without any message or confirmation.
The text was updated successfully, but these errors were encountered:
I discovered an issue with BotAPI. When sending a refundPayment request for a payment made as part of a recurring subscription, the API responds with a 400 error and the message:
{"ok":false,"error_code":400,"description":"Bad Request: CHARGE_ALREADY_REFUNDED"}
However, the refund itself is processed successfully. The problem lies in the incorrect server response: the bot does not display any notification about the refund, and the stars are simply returned to the user's account without any message or confirmation.
The text was updated successfully, but these errors were encountered: