jeudi 5 décembre 2019

how to setup test and production environment for apple iap server-to-server notification

I want apple send purchase notification of real user to my production environment after the app is published.

And meanwhile, i need apple to send purchase notification of sandbox test account to my test environment.

However, i can only config one URL in apple connect from apple iap server-to-server notification.

I try to receive notification in my production environment, and parse the payload of the notification, if it is a notification of sandbox, then deliver it to test environment. but i do not think this is a good way, because my test environment rely on my production environment.

How can i fix this problem?

Aucun commentaire:

Enregistrer un commentaire