Hi @Denis9k,
Welcome to the community
I am not familiar with BEP20 and I am not really sure what you are trying to do in your contract. I assume take payment in a token?
If so, you may want to look at: Example on how to use ERC20 token in another contract