인앱구매(2)
-
[Swift] Check Appstore receipts validation
영수증 유효성 체크 간혹가다 영수증 유효성 체크를 해야하는 경우가 있다. 유효성 체크는 로컬과 서버를 통해서 체크하는 방법이 있다. 이 글은 서버를 통해 유효성 체크를 하는 방법이다. func checkReceiptValidation(with receipt: String, isProduction: Bool = true) { var urlString: String = "" if isProduction { urlString = "https://buy.itunes.apple.com/verifyReceipt" } else { urlString = "https://sandbox.itunes.apple.com/verifyReceipt" } let url = URL(string: urlString)! let dic:..
2021.02.19 -
[WWDC Video Study] What’s new with in-app purchase - Refund Notification
Link developer.apple.com/videos/play/wwdc2020/10661/?time=551 What’s new with in-app purchase - WWDC 2020 - Videos - Apple Developer Create a great in-app purchase experience for your iPhone, iPad, Mac, and Apple Watch apps. Discover how to handle refunds, integrate new... developer.apple.com 45분정도 되는 영상이다. 여기서는 In-app purchase 에서의 업데이트 사항들을 알려주는데 크게 Server의 업데이트와 StoreKit의 업데이트가 있다. 번역 & 이해 하려고..
2021.02.04