greed icon indicating copy to clipboard operation
greed copied to clipboard

Some bot tokens do not work and always get a `Payment_provider_invalid` error from Telegram

Open Steffo99 opened this issue 4 years ago • 5 comments

image

A possible workaround is creating a new bot and creating a new token there.

Is it a Telegram bug?

Possibly related to #60.

Steffo99 avatar Aug 10 '20 16:08 Steffo99

Hi! I Have the same problem. Any news on your side? Thanks

alessiocanepa avatar Jan 08 '21 18:01 alessiocanepa

Hi! I Have the same problem. Any news on your side? Thanks

Sadly none. Have you already tried revoking your current bot token and generating a new one at https://t.me/BotFather ?

Steffo99 avatar Jan 08 '21 18:01 Steffo99

Hi! I Have the same problem. Any news on your side? Thanks

Sadly none. Have you already tried revoking your current bot token and generating a new one at https://t.me/BotFather ?

Now it works. I didn't create a new bot. I just repeated the payment provider connection procedure with BotFather. Tomorrow I will retry just to understand whether there's a kind of (improbable) timeout with TEST tokens (I'm using Stripe).

alessiocanepa avatar Jan 08 '21 18:01 alessiocanepa

This is happening to me right now, tried all the things but wont work

I revoked the bot token and tried. I revoked credit card tokens and tried.

tarunkumar519 avatar Nov 06 '21 18:11 tarunkumar519

i think the error is with payment api ...

i set like this credit_card_token = "" and the error is gone

geeks121 avatar Nov 10 '21 15:11 geeks121