Skip to main content
Solved

How to detect a purchase cancellation?

  • 27 December 2021
  • 1 reply
  • 225 views

Forum|alt.badge.img+1

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

 

Best answer by ryan

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

View original
Did this post help you find an answer to your question?

1 reply

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • December 27, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings