I implement in-app purchase server to server notification and add url in appstore But Some time i didn't get response from apple server in sandbox environment. My backend is in Python - django. Can anyone help me how to implement?
Didn't get in-app purchase server to server notification?
804 Views Asked by Drashti Javiya At
2
There are 2 best solutions below
4

I think to solve this question you're going to need to give more context.
I assume you've got a Django serverand and a (node.js) express api that is pointing to it for purchases:
If that's the case you'll need to create the routes in your express api for the in-app purchase function you need. There are many tutorials on this online that you could follow, type in express REST api into youtube.
Then call that api in your Django server using the request library, where you need it.
Simplest Server to Server Approach using API
When an in-app purchase takes on say
Server A
, you can call an endpoint on sayServer B
where there is a listener who receive data which you will send fromServer A
.This will work as a webhook for you.
If this doesn't help, please state your full or a bit more descriptive problem.