Skip to main content
Solved

Subscription p8 key file


Forum|alt.badge.img+5

We’ve got our iOS app working in testflight with subscriptions, and we have not uploaded a “Subscription p8 key file.”  (We have added the App-Specific Shared Secret.) 

We are able to retrieve the current offer and purchase it.   So, when is the Subscription p8 key file needed?  For what functionality?

p.s. I’ve seen the blog at https://www.revenuecat.com/blog/signing-ios-subscription-offers, but it just says to upload it.  

 

thanks

Best answer by TBZ

I can confirm that you can send out Offer Codes for your app, using URL for redemption, with no extra coding or setup.

e.g. emailing a link for ‘1-month free’ for new user installs

View original
Did this post help you find an answer to your question?

4 replies

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 492 replies
  • August 27, 2021

Hey @TBZ! 👋

The subscription p8 key file is for non-introductory subscription offers and offer-codes so RevenueCat can securely authenticate and validate a subscription offer request with Apple.  You can read more about this in our iOS Subscription Offers doc: https://docs.revenuecat.com/docs/ios-subscription-offers


Forum|alt.badge.img+5
  • Author
  • 5 replies
  • August 29, 2021

I see the description for redeeming Offer Codes from the app with presentCodeRedemptionSheet().

But, if we have not implemented that in app, and a user redeems via App Store directly, will RevenueCat pick it up (entitlement.isActive)?

i.e. What is required to recognize in appthat a user has redeemed an Offer Code via App Store?

thanks


Forum|alt.badge.img+5
  • Author
  • 5 replies
  • Answer
  • September 17, 2021

I can confirm that you can send out Offer Codes for your app, using URL for redemption, with no extra coding or setup.

e.g. emailing a link for ‘1-month free’ for new user installs


Forum|alt.badge.img+5

@cody I can’t find in the docs how I can upload a p8 file for testing using the storekit config file. When I try to pull the SKPaymentDiscount, I get an error that directs me to this url https://docs.revenuecat.com/docs/ios-subscription-offers , but these aren’t for .storekit sandbox testing.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings