Safemoon clone is not distributing to holders

Guys, I’m trying to make a copy of the Safemoon contract for studies.

Currently I managed to understand all the topics below.

  • Create the Token, modifying Name, Supply, decimals.
  • Add a liquidity pair on PancakeSwap
  • Buying and selling within PancakeSwap

The version of PancakeSwap I’m using for testing is this:

The router address I am using is: 0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3
My problem is just the following.

Wallet A has the token.
Wallet B also has the token, but sells 100 units in pancakeswap.

In this case 3 units go to the PL (This is not happening).
And 2 units should be distributed to Wallet A (which is also not happening).

I’m suspecting that I need to change something else, or that the PancakeSwap I’m using for testing doesn’t work for these two functions.

Hey,

Were you able to figure it out?

No,
I continue with the same problem, with no solution so far.

To everyone - It works on live pancake. It does not work for some reason on test pancake. I deployed on live pancake and it works nicely. Just deploy and you are good to go.

@ProsteLubo So is there any way to test before deploying?

this Code is OK???
Can i use it for my token?

How can you add burn wallet function after deploy the contract