BLACK FRIDAY: Save 50% on all books and bundles! >>

How to implement receipts and transaction persistence through own server?

Forums > SwiftUI

I am trying to implement a non-consumable transaction in iOS 14, via SwiftUI. I have implemented the UI, using the Fruta source code as a guide, but as far as I can see it does not handle transaction persistance and receipt checking.

I have read the documentation, and had a look at the sample application for handling in-app purchases, but it did not make any sense to me. As far as I can see, there are two ways in implementing receipt handling: (1) on-device, (2) through server. It says that the second option is needs to communicate through App Store server and developer server to handle this securely.

My application does not have any network content, it's all static. I am planning to introduce macOS and watchOS applications though, so on-device handling is not appropriate for me.

I would appreciate any guidance for more understanding on the subject.

Thanks!

   

https://stackoverflow.com/a/47791304/3672369 - what is the iapp identifier here? Is it identifierForVendor?

   

Save 50% in my Black Friday sale.

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

Not logged in

Log in
 

Link copied to your pasteboard.