如題
主要是為了從
App Store Server Notifications能判斷是哪筆資料
目前看到https://developer.apple.com/documentation/storekit/skmutablepayment/1506088-applicationusername
這個好像是在iap部份appler server回傳給client的
想請各位是否可以透過傳送自訂欄位讓
https://developer.apple.com/documentation/appstoreservernotifications
App Store Server Notifications傳送資料時可以取得自訂的資料
以上感謝
我猜是做不到
就算做得到
Apple 也不建議這麼做
如以下兩段所述:
Create a string that uniquely identifies the user's account on your service. For example, you can use a one-way hash of the user’s account name. Don't provide personally identifiable information or any data whose disclosure would otherwise be detrimental to the user.
Important
The applicationUsername property is not guaranteed to persist between when you add the payment transaction to the queue and when the queue updates the transaction. Do not attempt to use this property for purposes other than providing fraud detection.