Skip to content

Conversation

@koke
Copy link
Member

@koke koke commented Oct 18, 2022

Closes: #7835

Description

This adds a new InAppPurchasesRemote that implements the two necessary API calls for IAP:

  • loadProducts to get the list of supported product identifiers from the backend
  • createOrder to create a new order on the backend given an existing IAP receipt.

Testing instructions

Unit tests should pass. This code was tested within #7830 to the extent possible, since we backend pieces aren't ready yet (currently endpoints return an error).


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@koke koke added type: task An internally driven task. feature: in-app purchases Related to In-app purchases and subscriptions labels Oct 18, 2022
@koke koke added this to the 10.9 milestone Oct 18, 2022
@koke koke requested a review from toupper October 18, 2022 10:28
@wpmobilebot
Copy link
Collaborator

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr7875-30e2828 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@toupper
Copy link
Contributor

toupper commented Oct 18, 2022

Nice job @koke ! LGTM :shipit:

@koke koke merged commit b6e0951 into trunk Oct 18, 2022
@koke koke deleted the issue/7835-iap-networking branch October 18, 2022 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: in-app purchases Related to In-app purchases and subscriptions type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[IAP] Add network code for IAP

4 participants