0

Flow:

  1. user makes in app purchase on android/ios
  2. app store charges user and then sends purchase token to front end app
  3. front end sends purchase token to my backend server for validation and to register the purchase with my backend to update user's state.
  4. error occurs here -> front end app closes
  5. user state on the backend was never updated because the purchase token was never received and never validated.

In the above scenario/flow, the user paid, but my backend server is not aware of the payment, hence, whatever the user paid for is not given to them when they open the app again

How is this scenario handled/solved?

1
  • 1
    On iOS, because you have not completed the transaction, it will be delivered to your transaction observer for processing when the app is next opened. This is why it is important that your app establishes the transaction observer on launch. Commented 2 days ago

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.