Requirement of Promotional Offer Signature

What is the requirement to generate promotional offer signature and use it for applying promotional offers to the purchase.

We can directly pass the offer information to the purchase right? We don't understand what is the real purpose for this. If it's for any security reason and make sure to user doesn't misuse this offer then how can the user apply this offer if this app code are already compiled and secured with Apple Devices.

With promotional offers, you control eligibility, so the signature is how you make sure that a specific offer is authorized for this customer at the time of purchase.

The promotional offer can be applied by the app only right with proper validations and eligibility.

If yes, we can directly pass those information while purchasing I don't get it why we need to generate this signature and prove this is proper eligibility where we already handle this on our app. This flow looks complex and server call requirement slows our purchase processing.

Hello Boobesh,

The requirements are explained here: https://developer.apple.com/documentation/StoreKit/generating-jws-to-sign-app-store-requests#Include-custom-claims-for-promotional-offer-signatures

With promotional offers, you control eligibility, so the signature is how you make sure that a specific offer is authorized for this customer at the time of purchase.

Hope this helps you with your implementation!

With promotional offers, you control eligibility, so the signature is how you make sure that a specific offer is authorized for this customer at the time of purchase.

The promotional offer can be applied by the app only right with proper validations and eligibility.

If yes, we can directly pass those information while purchasing I don't get it why we need to generate this signature and prove this is proper eligibility where we already handle this on our app. This flow looks complex and server call requirement slows our purchase processing.

Hello Boobesh, Including the In-App Purchase key in your app binary to sign transactions is not recommended as it can be compromised. To minimize the latency concern, consider generating the signature when you display the offer rather than at purchase time.

Requirement of Promotional Offer Signature
 
 
Q