Solved

How to detect a purchase cancellation?

  • 27 December 2021
  • 1 reply
  • 36 views

Badge

Hi, how can i detect the iTunes pop-up cancel button clicked ? Is there any delegation methods or someting?

 

icon

Best answer by ryan 27 December 2021, 22:29

View original

1 reply

Userlevel 5
Badge +9

Hey @Eren Çelik!

In the purchase completion handler, the userCancelled boolean will be true if the customer cancelled the purchase. In addition, the error object will contain a PURCHASE_CANCELLED error: https://docs.revenuecat.com/docs/errors#--purchase_cancelled

Reply