Restore Purchase?

Hello, apple mandatory a RESTORE PURCHASE function for all IAP purchases. See Apple Developer Documentation

How to do that with the new IAP Component? This function is critical to get apps approved for AppStore.

2 Likes

They havenā€™t made this yet.

I have the same issue

1 Like

Iā€™ll make sure itā€™ll be looked into. Did you create the iap as a consumable or non consumable?

1 Like

non consumable is how I created it.

while i look into it, could you try resubmitting with an iap that is of type ā€˜consumableā€™?

1 Like

sure can. But right now Apple has had my app ā€œIn Reviewā€ for 6 hours. I made changes in the flow to see if I could get them to approve it. I guess it had to be escalated or something. Once they are done, Iā€™ll change it.

@oceanman

The App Review process takes up to 24 hours.

Hello Mr Elkhayami, your labsā€™ work on IAP is brilliant and I must commend you for working with Adalo to make apps much more powerful :trophy: :trophy: :raised_hands: You guys mightā€™ve just saved many makers startups and given others hope!!

I had one curiosity about whether there was ever a way to achieve anything close to dynamic pricing for IAPā€™s? For instance, if we had a marketplace where creators sell content/videos at any price they set, - to users of our apps. Would there be a way for an IAP to pickup those amounts, or any amount in the pricing templates close to that amountā€¦ lets say one creator wishes to sell a one-off custom video for $50US, but another wants to sell theirs for $29US (lets take the cameo app for example), could there be a way to list all tiers/pricing templates $1, $2, $3, $4, $5,$6, $10 --all the way up to $500US , where the desired purchase price (eg $29 instead of $50) could dynamically be pulled in and used for an IAP charge? I know its not as simple as stripe where we can pick dynamic amounts via magic text and pull those numbers into the payment portal. The whole setting of templates/tiers(on Apple Dev/Google Dev )for each product ID makes it seem like its not viable to do so. But I wondered if this is at all remotely possible in your opinion? or if any one who sees this post might know of any way around such a tricky situation?

thanks for your time and awesome contribution towards improving the livelihoods(earning potential) of all Adalo makers. God bless :pray: :raised_hands:

thanks @oceanman, please report back in this thread with the results :slight_smile:

hey @sasha thanks for the kind words :slight_smile:

i donā€™t think itā€™s possible to have a dynamic price a la stripe. Even within appstore connect itā€™s not possible to put in an arbitrary amount, you have to select a price from the dropdown apple provides.

So i think the only way to do this is creating your own list of iap products in google play / app store connect and dynamically pass in the SKU number via magic text. You could set up an adalo database ā€˜productsā€™ that is just a list of all of the possible prices with each row having the google SKU and the apple SKU. As you said, you will have quite some manual work to do to set this up one by one.

But for your example, i actually donā€™t think you need this custom component, you might just be able to use stripe (and dodge the 30% & 15% google apple tax). Youā€™ll have to doublecheck the guidelines, but i donā€™t think a marketplace falls under ā€˜unlocking digital contentā€™ since its something that might be created outside of the app.

@oceanman @pushingpandas

I did some digging, and iā€™m fairly certain youā€™ll get your app approved if you change the IAP type to be Consumable instead of Non-Consumable or Non-Renewing Subscription.

This might not exactly be the best fit for the type of IAP you provide in the app, but it might be a workaround for the short term. This gives us a bit of time to work on a flow for restoring purchases and pushing an update.

Of course, the app might still get rejected, if the reviewer disagrees that the IAP type does not fit in the way that it is presented. Iā€™ll keep you guys posted on any updates on the restoration flow.

2 Likes

I can definitely modify how we offer what we offer to make it ā€œconsumable,ā€ so Iā€™ll work on making those changes and then submit it.

Hello brother,

I canā€™t thank you enough for taking the time to respond to my question. Your advice really lifted my spirit and its often very hard to get information when you really need it, so Iā€™ll never be able to repay you for your kindness. Your tips on the database setup for pulling in the SKUā€™s is something im going to give a shot.

Iā€™m also studying up as hard as I can about the second option( which would really be an ultimate lifesaver if it ever gets approved in an apple review :raised_hands::raised_hands: ).

Youā€™re a rockstar :star_struck::star_struck::star_struck::raised_hands::raised_hands:

@pushingpandas

Hi, Iā€™m also working on IAP that is non-consumable (non recurring subscription) could you confirm that it is not possible at the moment to actually be approved to the store due to the restore purchase ?

Anyone?

They approved it as a consumable without a restore feature.

2 Likes

Thank you for the update and the great news! Congratulations!
Btw, can you confirm that we cannot preview IAP in Adalo? Is it only available in Testflight?

thanks @oceanman we are working on a restore flow in the meantime :slightly_smiling_face:

1 Like

@Sual correct, it is only available in testflight for testing actual payments.

The plugin does come with an option to render the button in the previewer. You can use this to test your success & failure actions without having to build the app.

1 Like

Thank you @yelkhayami
Any plan on supporting subscriptions as well?

@Repackaged weā€™re working on subscriptions right now :slightly_smiling_face:

4 Likes