I
I
Ilya2022-03-29 18:40:32
Bots
Ilya, 2022-03-29 18:40:32

How to connect a payment system and a telegram bot?

I have a ready-made telegram bot, and I would like to connect it to the payment system ( this one ). And you need to set up webhooks from this payment system. I myself have a bot on aiogram, uses polling. I would like to ask in what direction to move for such purposes, maybe there have already been similar problems?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanatPHP, 2022-03-30
@stead

There are two main directions:

  1. https://freelance.habr.com/
  2. Learn programming and basic Internet skills. In particular, the ability to follow a link and find documentation for developers on a web page.

Separately, I would like to dwell on the fricasse dot ru service.
I do not know what the expertise of its developers is, but at least the documentation on using the system was written by an imbecile. The only function it offers
function getIP() {
  if(isset($_SERVER['HTTP_X_REAL_IP'])) return $_SERVER['HTTP_X_REAL_IP'];
  return $_SERVER['REMOTE_ADDR'];
}
if (!in_array(getIP(), array('136.243.38.147', '136.243.38.149', '136.243.38.150', '136.243.38.151', '136.243.38.189', '136.243.38.108'))) {
  die("hacking attempt!");
}

- this is such a cringe that it reduces teeth. From a kilometer away, it smells like an unwashed loser, which the computer saw for the first time yesterday. And already such, "I'm a mother's merchant!"
This idiot did exactly the opposite of what he intended. Instead of limiting incoming IPs, it did the opposite - it opened access to the entire Internet.
Well, this infantile "hacking attempt!" says a lot about our pimply programmer, who only saw "hacking" in the movies.
I would not trust this farkassa even a penny

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question