In-App purchases in 4.18

my problem was solved when I included the code in the project and everything worked from blueprint and failed