Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

UX feedback for restoring IAP
Started by d2gp Feb 08 2019 09:46 AM

No replies to this topic
in-app purchases restore
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

d2gp

[GLOBAL: userInfoPane.html]
d2gp
  • Contributor

  • 261 posts
  • Corona SDK

Hi

 

I have a couple IAPs in my app, with buttons to restore them. If a user who hasn't purchased an IAP yet taps on the 'restore' button, is there a way for me to know that they haven't bought the item yet, so that I can give them an alert? Would transaction.isError but true? In that case presumably transaction.originalReceipt would be nil and I could use that as a test.

 

Thanks.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: in-app purchases, restore