inappropriate subscription creates user credentials on our server

Hi, we're developing an app which requires login. The login is managed on our Drupal server and allows both login on site and in app.

Now we want to use in-app purchase to allow users to sign up directly in the app by buying a subscription.

  1. user signup in app (choose subscription)
  2. purchase/payment is handled by apple
  3. User credentials are added/created on our server?!

Step 3 - what is the right way to do this? Is there a guide somewhere?

inappropriate subscription creates user credentials on our server
 
 
Q