In-app purchases enable content monetization by offering paid memberships or access tiers directly inside the mobile application. This document, thus, explains how to enable in-app purchases, configure product settings, sync with app stores, and test transactions.
Understanding In-App Purchases
In-app purchases allow members to buy access to premium content through the Apple App Store or the Google Play Store. Additionally, products can be configured as one-time purchases or recurring subscriptions. Moreover, integration with membership plugins controls content access based on purchase status.
Enabling In-App Purchases Component
In-app purchases must be activated before product configuration can begin.
- Vaya a Dashboard > MemberPress App > Components.
- Toggle In-App Purchases a En.
- Haga clic en Guardar cambios.
Configuring In-App Purchase Settings
Purchase settings control content access requirements and legal page links.
- Vaya a Dashboard > MemberPress App > Settings > In-App Purchases.
- Consulte Require Purchase to block content until product purchase.
- Select the Terms of Service page from the dropdown under Condiciones de uso.
- Select the Privacy Policy page from the dropdown under Política de privacidad.
- Desplácese hasta el Products Screen sección.
- Enter a custom message in the Sales Message campo.
- Haga clic en Guardar cambios.
Adding Products Screen to App Menu
The Products Screen must be added to navigation for member access.
- Vaya a Dashboard > MemberPress App > Menus.
- Locate Productos bajo el MemberPress App sección.
- Haga clic en Añadir al menú under either Tab Bar Menu or More Screen Menu.
- Haga clic en el botón Guardar menú.
Creating In-App Products
Products are created in WordPress and synced with app store products.
- Vaya a Dashboard > MemberPress App > In-App Purchases > Products.
- Haga clic en Añadir nuevo to create a product.
- Input a Product Name matching the app store product name.
- Enter an optional Etiqueta for a brief description.
- Enter an optional Descripción for a detailed explanation.
- Añadir Beneficios as short bullet points.
- Consulte Display on Products Screen to show the product.
- Seleccione Tipo de producto as either Paid or Free.
Syncing Products with Apple App Store
iOS products must be synced with App Store Connect.
- Consulte Activar under iOS Store in the product editor.
- Haga clic en Sync with Apple to retrieve available products.
- Select the corresponding product from the list.
- Products must be at least “Ready to Submit” status in App Store Connect.
Syncing Products with Google Play Store
Android products must be synced with the Google Play Console.
- Consulte Activar under Android Store in the product editor.
- Haga clic en Sync with Google to retrieve available products.
- Select the corresponding product from the list.
- Products must be in an Activo status in the Google Play Console.
Configuring Product Integration
Integration type determines which content unlocks after purchase.
- Localice el Integration Type section in the product editor.
- Seleccione Afiliación from the integration options.
- Choose the membership plan from the available options.
- Haga clic en Publique to save the product configuration.
Product integration connects app store purchases to WordPress membership access.
Organizing Subscription Groups
Subscription groups organize related subscription products for proper tier management.
- Crear un Subscription Group in App Store Connect under Features > Subscriptions.
- Copy the exact subscription group name.
- Vaya a Dashboard > MemberPress App > In-App Purchases > Subscription Groups.
- Haga clic en Add New Subscription Group.
- Paste the subscription group name in the field.
- Haga clic en Guardar to create the group.
- Edit each related product in the Productos sección.
- Assign the product to the subscription group you created.
- Haga clic en Update Product to save the assignment.
Reordering Products
Product order controls display sequence on the Products Screen.
- Vaya a Dashboard > MemberPress App > In-App Purchases > Products.
- Click and drag products to reorder them in the list.
- Arrange products in the desired display order.
- Release to set the new position.
Product order reflects immediately on the Products Screen and purchase modals.
Testing Purchases in Test App Builds
Test App builds simulate purchases without real payment processing.
- Instale el Test App on a mobile device.
- Log in with a test user account.
- Navegue hasta el Products Screen in the app.
- Tap Ver on a product to initiate purchase.
- Complete the simulated purchase flow.
- Verify access to linked membership content.
- Vaya a Dashboard > MemberPress App > In-App Purchases > Transactions.
- Check for transaction entries marked with the Test App indicator.
- Haga clic en Revoke next to test purchases to reset access.
Test App builds treat all products as free for testing purposes.
Testing Purchases in Release Builds
Release builds test purchases with real app store interfaces.
Testing iOS Purchases with TestFlight
- Descargar el IPA file de Dashboard > MemberPress App > Build History.
- Upload the IPA file to TestFlight in App Store Connect.
- Invite testers using their Apple ID email addresses.
- Testers install the app through TestFlight.
- Testers complete purchase flows without actual charges.
TestFlight sandbox environment processes purchases without billing testers.
Testing Android Purchases with Internal Testing
- Download the APK file from Dashboard > MemberPress App > Build History.
- Upload the APK to the Google Play Console testing track.
- Invite testers using their Google account email addresses.
- Share the testing URL with invited testers.
- Testers install the app and complete purchase flows.
- Google Play testing environment processes purchases without charges.
Internal testing uses Google's billing system without actual payment processing.
Managing Transactions
Transaction management occurs through the Transactions interface.
- Vaya a Dashboard > MemberPress App > In-App Purchases > Transactions.
- Review all purchases from Test App y Release App builds.
- Haga clic en Revoke next to each test purchase to revoke access safely.
- Utilice Revoke on release purchases only when necessary.