Is it bug with App Store implementation? ConfirmationNeededForBuyRecurringItem

  • 18 November 2023
  • 4 replies
  • 47 views

Badge +6

Hello,

I tried to test current MagicWeather and purchase_tester Flutter examples with iPhone 15, purchases_flutter: ^6.3.0


I configured everything correctly; “paywall” shows in-app subscription, I click to buy, it opens native iOS screen where I input Email and Password and confirm purchase, then it goes back to “paywall”. It is in a loop. I tried to debug. After making purchase, it goes back to “paywall”; when I close “paywall”, I receive this output in debug console of XCode:
 

metrics =     {
actionUrl = "sandbox.itunes.apple.com/WebObjects/MZBuy.woa/wa/inAppBuy";
dialogId = "MZCommerceInAppBuy.ConfirmationNeededForBuyRecurringItem.CPS.Auth";
eventType = dialog;
message = "Sign in with Apple ID";
mtEventTime = "2023-11-18 16:08:20 Etc/GMT";
mtTopic = "xp_its_main";
osloTitleType = text;
osloTitleValue = "AbstractSalableInfoModule.SandboxTitle";
topic = "xp_its_main";
};
pings = (
"https://xp.apple.com/report/2/xp_its_main?code=MZCommerceInAppBuy.ConfirmationNeededForBuyRecurringItem.CPS.Auth&buttons=Continue%3ACancel&baseVersion=1&dsId=21214938513&eventVersion=1&storeFrontHeader=143455-6%2C29&eventTime=1700323739557&eventType=dialog&message=Sign%20in%20with%20Apple%20ID"
);

 

Perhaps something is missing in MagicWeather code? Or bug in SDK? I assume iOS tries to show “Confirm/Cancel” modal but instead it returns to RevenueCat’s “paywall”.

Could you help please?

P.S. Purchase never made… but everything configured properly.


4 replies

Userlevel 4
Badge +8

Solution found in Github thread is as follows: https://github.com/RevenueCat/purchases-flutter/issues/875

Issue was that you were configuring Purchasely to also finish transactions, and forcing Purchasely into using "StoreKit 1 mode" has appeared to have fixed the issue.

 

If anyone else suspects this could be the issue, providing additional logging is really helpful for us to determine for sure the issue - in this case it was Purchasely interfering with the SK transaction.

Userlevel 4
Badge +8

Hi, to better investigate this could you please run and provide the RevenueCat SDK’s debug logs? You can enable them following our guide here: https://www.revenuecat.com/docs/debugging#section-debugging

Badge +6

Reported as bug

https://github.com/RevenueCat/purchases-flutter/issues/875

Badge +6

It could be Apple issue; I assume confirmation box should be shown, “confirm purchase? / cancel?” - and it is not shown; I found some discussions, like this one https://developer.apple.com/forums/thread/130742

 

Reply