Skip to content

Connect receipt validation user with server notifications #24

Answered by imdhemy
Iamscaredofcode asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, @Iamscaredofcode
I'm really happy to read your nice words. Thank you! ❤

I faced the same problem during the development of one of our apps. Google Play allows the developer to attach a developer payload, but the App Store does not.

As a workaround, I implemented an endpoint that allows the mobile application to inform the backend about the purchased subscriptions.

  1. Once the subscription is purchased on the mobile application, it receives receipt data from the provider.
  2. The mobile application sends the data to your backend through the previously mentioned endpoint.
  3. You can find the user through your authentication process, and connect the receipt data with the authenticated user.

I…

Replies: 1 comment 16 replies

Comment options

You must be logged in to vote
16 replies
@michavie
Comment options

@imdhemy
Comment options

@michavie
Comment options

@imdhemy
Comment options

@Iamscaredofcode
Comment options

Answer selected by Iamscaredofcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants