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 found several issues related to the payment in testing mode:
I tried to call createInvoiceLink with 2592000 (30 days) assigned to subscription_period. However, in test mode, it always returns SUBSCRIPTION_PERIOD_INVALID error. I need to switch to production mode to test this kind of feature.
I bought stars from test mode using 4242424242424242 card once. After that, I couldn't buy stars anymore. It always shwos invoice not found issue from the star store.
The text was updated successfully, but these errors were encountered:
twxia
changed the title
In test mode, subscription_period cannot be 2592000 from createInvoiceLink
In test mode, subscription_period cannot be 2592000 from createInvoiceLink and cannot buy stars multiple times
Apr 20, 2025
Thanks for the information. It works. I couldn't find this info in the document. It would be awesome if the team could update this in the document. 🙏
I'm not sure how to ask for a new invoice because it is a built-in Telegram star store. It is not from the bot API. Today, it somehow works again. I can buy the test stars. After I bought it, I couldn't buy it again. I assume it is an issue with Telegram Desktop (Mac). Please check the following screenshot:
Hi there,
I found several issues related to the payment in testing mode:
I tried to call
createInvoiceLink
with2592000
(30 days) assigned to subscription_period. However, in test mode, it always returnsSUBSCRIPTION_PERIOD_INVALID
error. I need to switch to production mode to test this kind of feature.I bought stars from test mode using
4242424242424242
card once. After that, I couldn't buy stars anymore. It always shwos invoice not found issue from the star store.The text was updated successfully, but these errors were encountered: