Question

Payment screen keep showing in an endless loop

  • 9 November 2023
  • 8 replies
  • 51 views

Badge

Hello,

I am trying to add Revenue cat to my IOS flutter app using this package: https://pub.dev/packages/purchases_flutter

After i make a purchase with sandbox and the screens show done(in picture 2), I got stuck in the payment screen, even i re-enter my credentials and pay again the app keeps showing me tha payment screen over and over (i got stuck in this function: Purchases.purchaseStoreProduct it does not return any CustomerInfo even though I paid and the ios screen shows done.).

I checked snadbox in revenue cat dashboard but all of my payment did not get persisted.

Can someone help me, and thanks in advace.

Here is my code(Picture 1):

 


8 replies

Did you find a solution?

Badge

I switched from emulator to my device and it worked !

It works man. Thank you

Badge +2

I’m having the same issue testing in Xcode 15 in the simulator!

Badge +2

RevenueCat, are you aware that this is happening? I am testing iOS 17.0.1, multiple devices. The successful purchase never calls the completion block. The dialog shows in an endless loop.

Badge +2

Also, my app is a huge old Objective-C code base, in case that makes a difference. So this is running in Objective-C.

Badge +2

It does work when testing on the device.

Badge +1

yes this is happening to me on Xcode similators!

 

Reply