Your token is a clone of the original SafeMoon contract.
How to make the exchange work?
By exchange do you mean a transfer? By exchange do you mean use Pancake Swap? You will need to add liquidity as I think you have done.
After adding the liquidity, you will need to enable SwapAndLiquify as you've done.
Do you mean that you can no longer swap tokens using Pancake Swap? It should not have an issue. That variable has no ability to effect your swaps of BNB and your token.
What Swap and Liquification does is that once your Contract reaches a certain amount of token within it, it will sell half of that for BNB in Pancake Swap. It only does this when a certain amount of token is reached in the contract.
Okay, thanks for the tip. I realized that this function does not affect the exchange in a pancake swap. I transferred the contract. SwapAndLiquifyEnabled at position (true). Added $ 100 to liquidity. The pancake exchange worked for a while. I could buy and sell. After 7, the transaction again gets out with an error. Now I cannot sell and buy on a pancake swap. An error comes out:
Yes, it needs to be a correct amount in order to properly swap. Sometimes RFI will do a math operation that doesn’t work out, so you will need to adjust your amount and try to swap again.