server-side receipt verification for StoreKit Testing

My app does server-side receipt validation. Is there a method to validate the receipt from StoreKit Testing server-side?

I tried it with our existing secret key and got an error.

Thanks!

Replies

Looks like this is only local validation. I have an appointment today I will ask and reply here.
Receipts generated by StoreKit Testing in Xcode are signed with a different private key than receipts generated by the production App Store or Sandbox environments. They are not compatible with the verifyReceipt endpoint. We recommend using the sandbox environment for any server to server testing of your in-app purchase functionality. As a reminder, your app should only call verifyReceipt from your own server and never directly from a device.