Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • In-App purchase fulfillment API

    • API that verifies the payment and unlocks gated content

    • Possible data required for this API:

      • Transactional details like receipt information or Transaction ID

      • Basket, which can be obtained for a user against a site

  • We would probably need to alter or create a similar API to the BasetAddItemsView API that returns a JSON response for product addition to the basket instead

    of a redirect that is happening right now.

  • In addition to this, we would need to be able to distinguish between in-app purchase orders and web orders. The most straightforward way of doing this is to add a boolean flag to the Order model. We could add a card_type choice to the already present Source model with the relevant information about android/iOS IAP for this purpose.

API Flow:

Following is the proposed API flow:

...