Answer the question
In order to leave comments, you need to log in
Telegram paymen does the payment system recognize the id of the bot?
invoice example
Request::sendInvoice([
'chat_id' => $chatId,
'title' => 'Tip',
'description' => 'Thanks to staff',
'payload' => uniqid(),
'provider_token' => \Yii::$app->params['bot_payment_token'],
'currency' => 'RUB',
'prices' => [
[
'label' => 'Tip',
'amount' => 10000,
],
] ,
'reply_to_message_id' => $message->getMessageId(),
'max_tip_amount' => 100000,
'suggested_tip_amounts' => [10000, 20000, 30000]
]);
for example, I connected the Sberbank payment system in the cart for my bot
when making a payment, does the cart send the id or name of my bot?
i.e. bank employees or tax authorities will be able to find the bot from which payments are made?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question