I'm a little Lost with IAP on iOS

dimsdaledimsdale Member, PRO Posts: 495
edited June 2022 in Feedback

with the "In App Purchases - Request Purchase Data", comand.

What is the Callback Attribute?? I follow most of the rest, but not sure how to access "self.Callback" or what I should replace it with in my code?

Should this command be called at the very start of the game play loop, maybe on the boot-up screen, or only when you we access the IAP button for the first time?

Thanks :)


Comments

  • zarzirzarzir Member, PRO Posts: 128

    The Callback Attribute is whatever you want it to be.

    You should called it before running the request to buy an item

  • dimsdaledimsdale Member, PRO Posts: 495

    so I don't need to put anything in "Callback Attribute"?

  • zarzirzarzir Member, PRO Posts: 128

    You need to put an Attribute of your choice, it will tell you when the data from apple/google as been received (Attribute become 1)

    or when there is no connection (Attribute -1)

  • dimsdaledimsdale Member, PRO Posts: 495

    oh, I think I following now. thank you.

Sign In or Register to comment.