Skip to main content
Question

purchase_ui_flutter: 8.5.1 , PaywallResult.cancell Always in IOS sandbox


Forum|alt.badge.img

## Issue Description

When implementing RevenueCat UI (v7.x.x) in a Flutter application, I've encountered a consistent issue where `PaywallResult.cancelled` is always returned in iOS Sandbox testing, even when purchases are successfully completed. This affects both consumable purchases and subscriptions. In android works well. 

This issue is only with the Paywalls v2. With the v1 used to work correctly. 

 

### Actual Behavior
- Android: Works as expected, returning `PaywallResult.purchased` for successful purchases
- iOS Sandbox: Always returns `PaywallResult.cancelled`, even though:
  - The purchase is successfully processed by RevenueCat
  - The entitlement/purchase is correctly reflected in RevenueCat dashboard
  - Customer info is properly updated

 

I would like to know if there is any known solution for this or is related with the sandbox environment. 

Thanks!

11 replies

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • February 24, 2025

Hi ​@marcos_myadventour! You mentioned Flutter v7.x.x, but Paywalls V2 is only available on SDK versions >8.5.0. Can you upgrade to the latest version (currently 8.5.1) and let me know if this issue persists? If so, we’ll be happy to further investigate. Thanks!


Forum|alt.badge.img

Hi Jeffrey, 
Sorry I trusted too much the draft message from Cursor 😅. I am using the v.8.5.1 and I still got as response from the paywall “PaywallResult.cancelled”. I tried in TestFlight and the error persists. 
If you need any further details, just let me know! 
Any help would be welcome.
Marcos
 


cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 497 replies
  • February 28, 2025

Hey ​@marcos_myadventour , 

Thanks for the details! We’ll attempt to reproduce and follow-up as soon as we can.


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • March 2, 2025

Hi ​@marcos_myadventour! I am communicating with our paywalls engineering team about this. In the meantime, I have one more question - you initially mentioned Sandbox - did you do your testing on the Simulator, or on a physical device? And to confirm - this is also happening with TestFlight purchases on a physical device? Thanks!


Forum|alt.badge.img

Hi Jeffrey,

That is great news. 

I did my testing on physical device. and Yes, this also is happening with TestFlight purchase on a physical device. 

Best,
Marcos


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • March 4, 2025

Hi ​@marcos_myadventour, thanks so much for confirming. From speaking with my team, it appears that this was an Apple-introduced bug in iOS 18.3, where all purchases will return the cancelled result. Can you confirm that you’ve been testing on iOS 18.3? The good news is Apple was able to fix this server-side, so it should now be resolved. Can you let me know if this is the case? Thanks!


Forum|alt.badge.img

Hi Jeffrey, 

Thanks for the update! However, all our testing was conducted on iOS 18.0, not 18.3.

Not sure If the bug was also in that version, could you confirm? We are happy to conduct new testing if needed. 

Best,
Marcos


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • March 4, 2025

Hi ​@marcos_myadventour You’re most welcome! It’s possible that this can happen on multiple iOS versions, though our SDK team isn’t 100% on this. We have added your evidence to our internal issue about this, so we’ll see if we can get confirmation about this. Also, it’s possible that it has already been fixed, so if you can test again that would be great.


Forum|alt.badge.img

Hi Jeffrey, 

I tested again and at least with versions of IOS 18.0 and 17.6.1 is still giving as answer “flutter: Paywall result: PaywallResult.cancelled”

Hope this information can help.

Best,
Marcos


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • March 6, 2025

Hi ​@marcos_myadventour, thank you for letting us know. I have shared this with my team.


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • March 7, 2025

@marcos_myadventour Update: We’ve learned that Apple hasn’t, in fact, fixed this issue, and we’re still working to have this issue addressed. 


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