> For the complete documentation index, see [llms.txt](https://docs.webtonative.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.webtonative.com/website-plugins/wordpress/in-app-purchase/in-app-purchase-iap-configuration-guide-for-ios-and-android.md).

# Configuration Guide for iOS and Android

Configure iOS and Android in-app purchases with the WebToNative WordPress plugin for secure subscriptions and digital product purchases.

## iOS In-App Purchase (IAP) Configuration

### Step 1: Access the Apple Developer Account

1. Open an [Apple Developer Account](https://developer.apple.com/account).

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FyTlp0vSQn22JnF94OmGO%2FScreenshot%202025-01-24%20at%2010.53.26%E2%80%AFAM%20(1).png?alt=media&amp;token=76a3448a-87e6-4a10-ae78-c69f58b07488" alt="" width="563"><figcaption></figcaption></figure>

2. Click on **Apps**.
3. Select your app or create a new app.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FU7XHiBLcrJT55MHl7oIL%2FScreenshot%202025-01-29%20at%2011.03.05%E2%80%AFAM.png?alt=media&amp;token=01b6de20-1bac-4ad4-a4e4-473a07fc79be" alt=""><figcaption></figcaption></figure>

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F4UnmEYGzTML5LJKyCaKr%2FScreenshot%202025-01-29%20at%2011.03.19%E2%80%AFAM.png?alt=media&amp;token=699b207f-3807-46a2-b4c9-286664ff724f" alt=""><figcaption></figcaption></figure>

### Step 2: Configure In-App Purchase or Subscriptions

#### ============== Configure In-App Purchase ==============

1. Navigate to **In-App Purchases**.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2Fiq1ASPUr000umxX3DAXc%2F2.png?alt=media&amp;token=27971c87-fd50-4002-b76f-559b9178016d" alt=""><figcaption></figcaption></figure>

2. Click on the **Create** button.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FbTFlSdIq7nRNDrMZVGcy%2F3.png?alt=media&amp;token=21f23a2b-6970-4a2d-b559-b3070dff3451" alt=""><figcaption></figcaption></figure>

3. Choose **Create an In-App Purchase**.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FMUh0ecfta5Ljo7t3rrDX%2F4.png?alt=media&amp;token=2df82e48-f402-4e1b-aea6-0e9b6d28f94f" alt=""><figcaption></figcaption></figure>

4. Enter the required details:

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FSOQdCvNADJThWp2F72PR%2F5.png?alt=media&amp;token=bb99e693-f798-46ce-8d33-bde4717335b2" alt=""><figcaption></figcaption></figure>

* **Type** (Consumable, Non-Consumable, Auto-renewable Subscription, Non-renewing Subscription)
* **Reference Name**
* **Product ID**

5. Configure the in-app purchase:

<div><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FqpIg3CrIvR85q422eHlw%2F6.png?alt=media&amp;token=afc37fe9-db41-493d-83f1-415342bfa60e" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FA37A7S52vH0U1kaZF4AE%2F7.png?alt=media&amp;token=f06c974d-c230-498c-885a-b242418a0998" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FTWVnzRoc1bkEDDtDtqtt%2F8.png?alt=media&amp;token=2a1714e1-d735-40cc-a37c-0ec880750f9f" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FWOodfvGlJYwajTi6rzWA%2F9.png?alt=media&amp;token=54aeb184-caaf-4bb8-9ca1-28a9236cf0cf" alt=""><figcaption></figcaption></figure></div>

* **Availability**: Specify regions where the in-app purchase will be available.
* **Pricing**: Set pricing tiers.
* **Localization**: Provide translations for different regions.
* **Image**: Upload an appropriate image for the product.
* **Screenshot**: Add screenshots showcasing the purchase flow.
* **Review Notes**: Provide additional information for Apple’s review.

#### ============== Configure Subscriptions ==============

1. Navigate to **Subscriptions**.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FOOx1Vbtu89ntpi7hLhyW%2F10.png?alt=media&amp;token=c322bf99-72cb-4cb4-adef-0a2511ca9a64" alt=""><figcaption></figcaption></figure>

2. Click on **Create Subscription Group**.

<div align="left"><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F4oaeDjgXmoupbNwxKg6W%2F11.png?alt=media&amp;token=1507b6f3-8b80-45a2-8a57-3276b38c5232" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FmtITzN2EQLDgN5iXi4sp%2F12.png?alt=media&amp;token=d034b0c9-cbfb-4d36-b053-48c91c40e8c9" alt="" width="375"><figcaption></figcaption></figure></div>

3. Enter a **Reference Name**.
4. Create a **Subscription**.

<div align="left"><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2Fobosykku9XOSgZO61VVM%2F14.png?alt=media&amp;token=3fd78d2a-fe13-4465-81a3-dd3aa25fdbf8" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F0UeIHj2vUpRuYFsTBg8U%2F15.png?alt=media&amp;token=ad13643e-5e5b-4d17-bc28-43801817fc08" alt="" width="375"><figcaption></figcaption></figure></div>

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F9XQfvN9dpFsn1ehR7EKa%2F16.png?alt=media&amp;token=d463c1d8-8a37-454f-9b67-e58af8174f6e" alt=""><figcaption></figcaption></figure>

5. Configure the subscription:

<div><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FOLzyXdiqzZxm0odbI7JL%2F17.png?alt=media&amp;token=b70f3334-7b42-4bea-8bf2-c14bd885733a" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F9dpSAu29GQlTlUgc7VJj%2F18.png?alt=media&amp;token=280632cf-31a1-4aa2-8c35-933bccd1b3e9" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F2cRZNOCvH1tVCN2xxDrw%2F19.png?alt=media&amp;token=4cdbe177-fb29-421b-8a9b-530c16756639" alt=""><figcaption></figcaption></figure></div>

* **Availability**: Define regions.
* **Pricing**: Set up subscription pricing.
* **Localization**: Add translations.
* **Image**: Upload an appropriate image.
* **Tax Category**: Assign relevant tax information.
* **Screenshot**: Provide screenshots of the subscription process.
* **Review Notes**: Include additional notes for Apple’s review.

### Step 3: **Configuring the Paid Apps Agreement after Setting Up In-App Purchases in iOS**

#### Step 1: Ensure In-App Purchases Are Set Up

Before proceeding, confirm that you have set up in-app purchases in **App Store Connect**:

1. Select **My Apps** and choose your app.
2. Go to the **Features** tab and select **In-App Purchases**.
3. Ensure all necessary in-app purchases are configured.

#### Step 2: Navigate to the Business Section

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FxE9uNyolISTXXqtKXjLy%2FScreenshot%202025-01-29%20at%2012.43.20%E2%80%AFPM.png?alt=media&amp;token=facae888-543a-4737-b11b-bd94f735ccd1" alt="" width="375"><figcaption></figcaption></figure>

1. In the main dashboard, click on **Business**.

#### Step 3: Review and Accept the Paid Apps Agreement

1. Under **Agreements**, locate the **Paid Apps Agreement**.
2. Click on **View** to review the terms.
3. Accept the agreement if required.

#### Step 4: Add Banking and Tax Information

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F44fxjIBV48f1i5caGaGv%2FScreenshot%202025-01-29%20at%2012.44.38%E2%80%AFPM.png?alt=media&amp;token=0f2d2b0b-a77e-41d4-8908-a1444e8a135a" alt=""><figcaption></figcaption></figure>

1. In the **Bank Accounts** section, click **Manage**.
2. Add or verify your bank details for receiving payments.
3. In the **Tax Forms** section, click **Add** to submit any required tax forms.

#### Step 5: Confirm Activation Status

1. Ensure that the **Paid Apps Agreement** status shows as **Active**.
2. If any action is required, complete the missing details and resubmit.

#### Step 6: Verify Your App’s Pricing and Availability

1. Go to **App Store Connect** > **My Apps**.
2. Select your app and navigate to the **Pricing and Availability** section.
3. Ensure your app is properly priced and available for purchase.

#### Step 7: Submit Your App for Review

Once everything is set up:

1. Go to **App Store Connect** > **My Apps**.
2. Select your app and submit it for review.

Your app is now configured for paid transactions, and users can make purchases once it's approved and live on the App Store.

***

## Android In-App Purchase (IAP) Configuration

### Step 1: Access Google Play Console

1. Open [Google Play Console](https://play.google.com/console).
2. Select your app or create a new app.

<div><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F39z34MRhPCRVGgSI1NCl%2Fs-1.png?alt=media&amp;token=435bdbd3-02b6-4fcc-b01f-d3c1568660a5" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FgX1aY2PX40AJ7G8gaYkw%2Fs-2.png?alt=media&amp;token=198b1b1e-e38b-4128-a663-384d3549c7b8" alt=""><figcaption></figcaption></figure></div>

### Step 2: Configure In-App Purchase or Subscriptions

#### ============== Configure In-App Purchase ==============

1. Navigate to the **Monetize with Play** section.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FGxrp3Ig6BGnSYnDGTyir%2F1.png?alt=media&amp;token=21806c53-da48-4f91-8a51-3f8f0c6e5763" alt="" width="375"><figcaption></figcaption></figure>

2. Click on **In-app Products**.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FLAlHoYbGthknYgemUcQD%2F2.png?alt=media&amp;token=ebe17143-3b4b-49a3-ae98-ddefec196265" alt="" width="375"><figcaption></figcaption></figure>

3. Click **Create In-App Product**.

<div><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FicHh6qoSpqKkBAZskfDJ%2F3.png?alt=media&amp;token=b757e621-e894-44a1-83d2-62bb8b8bd978" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2Fvr4AeU1TKdSN2E9w44rU%2F4.png?alt=media&amp;token=059af08e-22cb-4ae4-913e-ea64e2bd1826" alt=""><figcaption></figcaption></figure></div>

4. Enter the required details:

* **Product ID** (Unique identifier for the in-app product)
* **Name** (User-friendly name of the product)
* **Description** (Detailed explanation of the product)
* **Price**: Set the price for the product.
* **Tax and Compliance**: Configure tax and regulatory settings.

3. Click **Activate** to enable the in-app product.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FFZJnLqyNGpwsobtn0yUT%2F5.png?alt=media&amp;token=e3abb5ef-c876-429b-b2d7-0b27be70fded" alt="" width="375"><figcaption></figcaption></figure>

#### ============== Configure Subscriptions ==============

1. Navigate to the **Monetize with Play** section.
2. Click on **Subscriptions**.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FG6lgXudQnN9kn0ltlyB4%2F6.png?alt=media&amp;token=83373129-bc5c-4339-8bb4-ad26c0828a1a" alt=""><figcaption></figcaption></figure>

3. Click **Create Subscription**.

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2Fxrm3jFpjDlTMrRgktw3H%2F7.png?alt=media&amp;token=46161573-9af5-4951-b118-41944a01868b" alt=""><figcaption></figcaption></figure>

4. Enter the required details:

<figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FMnsrCElJJB7Mej0B8OGO%2F9.png?alt=media&amp;token=cae0840d-a0d0-4615-9d09-c7fcec9676cb" alt=""><figcaption></figcaption></figure>

* **Product ID** (Unique identifier for the subscription)
* **Name** (User-friendly name for the subscription)

5. Add a **Base Plan**:

<div><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F73E8dfAkO0zbJu6Leo6k%2F10.png?alt=media&amp;token=7975ebbc-663c-4d1d-a913-ad98f3c14c77" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FN4KIC7cMUTRJjIqajzrb%2F11.png?alt=media&amp;token=beca86cf-5b70-473a-832e-79ddaeb432d0" alt=""><figcaption></figcaption></figure></div>

* Enter **Base Plan ID**.
* Select **Type** (Auto-renewing or prepaid subscription).
* Assign relevant **Tags**.
* Define **Price** and configure availability.

<div><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2F5P0mam0djhs8DdLEDop6%2F12.png?alt=media&amp;token=ec26e28c-1e8d-4e1e-8254-4a67e7f21c85" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FYG5FKhbHB3e5FiDIpRpx%2F17.png?alt=media&amp;token=d1e89155-7f3d-4204-a5df-bf79b8891388" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FMZhkiPQJFgjXDEQL1WmQ%2F13.png?alt=media&amp;token=517efc87-fe87-4962-a451-1724d718c8fc" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FErUVu5Y2H4cPIgY9dT7V%2F14.png?alt=media&amp;token=1f2ac2c1-e94c-4e47-80c3-aa1c264d3106" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2Fx7ZaaCLsMIioxUtpupHw%2F15.png?alt=media&amp;token=fa5e93be-6146-4bdf-b708-484d737a9068" alt=""><figcaption></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FtOJLp0s5fEybCChTBWEb%2F16.png?alt=media&amp;token=ee5b8321-42fa-4cb9-81f5-a0f5c26c71ef" alt=""><figcaption></figcaption></figure></div>

6. Click **Activate** to enable the subscription.

***

### Conclusion

This guide provides step-by-step instructions for configuring In-App Purchases (IAP) for iOS and Android platforms. Before submitting your app for review, ensure that all necessary details are entered accurately and that it complies with the platform-specific guidelines.
