Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

How to make StoreKit config & App Store Server notifications work together?

Hi,

Using StoreKit 2 with App Store Server notifications like so:

  • User selects a purchase
  • App calls Product.purchase()
  • If successful, App Store notifies our backend with the transaction details, importantly with a UUID for the transaction ID.

This works fine, but when I try to test contingent pricing via the handy StoreKit config Transaction Manager in Xcode by creating a PurchaseIntent if I then complete the purchase in the app the Transaction ID is sequential, (0 for the first, 1 for the second etc), which doesn't work for us as the backend might already have that ID stored so the purchase never completes.

If I disable the config file it works fine, but then I can't use the Transaction Manager debug tool. Is there a way to override the ID of a custom transaction that's created via the StoreKit configuration?

Thanks

How to make StoreKit config & App Store Server notifications work together?
 
 
Q