According to https://developer.apple.com/documentation/appstorereceipts/status the status code 21007 is returned, if a receipt send to the production environment comes from the test environment.
Therefore the recomended logic is as follows:
From the documentation side, this state is undefined.
Does anybody know
1) what does it mean to receive a 21007 code when sending a receipt to the sandbox endpoint
2) how to resolve this?
As you can imagine, following the above logic this results in a wonderful endless loop ;)
Thanks for any help!
Therefore the recomended logic is as follows:
send the receipt to the production endpoint
if the response is a 21007 code, then send it to the sandbox endpoint
From the documentation side, this state is undefined.
Does anybody know
1) what does it mean to receive a 21007 code when sending a receipt to the sandbox endpoint
2) how to resolve this?
As you can imagine, following the above logic this results in a wonderful endless loop ;)
Thanks for any help!