Reputation: 569
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?
Upvotes: -8
Views: 861
Reputation: 1059
When an in-app purchase takes on say Server A
, you can call an endpoint on say Server B
where there is a listener who receive data which you will send from Server A
.
This will work as a webhook for you.
If this doesn't help, please state your full or a bit more descriptive problem.
Upvotes: 0
Reputation: 1016
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.
Upvotes: 0