Menú adicional

¡Consiga MemberPress hoy mismo! ¡Empieza a cobrar por los contenidos que creas! Obtenga MemberPress ahora

Testing In-App Purchases in MemberPress App

In-app purchases testing ensures transaction completion, accurate pricing display, and correct access unlocking before public release. Testing occurs through Test App builds and Release builds using TestFlight and Google Internal Testing. This document explains how to test purchases in both testing environments.

Understanding Testing Requirements

In-app purchase testing requires proper product configuration and build availability before testing can begin.

All in-app products must be configured and synced in Apple and Google developer accounts. Products must be added in Dashboard > MemberPress App > In-App Purchases > Products. App builds must be generated and available for testing deployment.

Testing Purchases in Test App Builds

Test App builds simulate purchases without connecting to actual app stores.

Understanding Test App Behavior

Test Apps display specific product information based on product type.

Free products display correct labels, including “Gratis" y "De por vida” access indicators. Label accuracy confirms proper product configuration.

Paid products show generic “Precio” labels with explanatory notes. The note states, “Pricing and terms are only available in Release Apps” due to the absence of a store connection.

Understanding Test App Purchase Simulation

Test App purchases simulate transactions without processing real payments.

All purchases are completed automatically without requiring payment information. The app enrolls users as if transactions succeeded with real payment processing.

No actual pricing displays for paid products. Store connection absence prevents real price retrieval from Apple or Google.

Using Test App Builds Effectively

Test App builds verify product functionality without store connection delays.

  1. Instale el Test App build on a testing device.
  2. Navigate to the products screen within the app.
  3. Verify product labels display correctly for free products.
  4. Confirm paid products show generic price placeholders.
  5. Complete a test purchase by tapping a product.
  6. Verify automatic enrollment occurs without payment processing.
  7. Vaya a Dashboard > MemberPress App > In-App Purchases > Transactions.
  8. Confirm that transaction logging records the simulated purchase.
  9. Test multiple products to verify correct enrollment mapping.
  10. Verify membership or content access unlocks as expected.

Test App builds enable rapid testing without App Store Connect or Play Console approval delays.

Testing Purchases in Release Builds

Release builds test complete purchase flows with real store interfaces and local pricing display.

Testing iOS Purchases with TestFlight

TestFlight enables iOS purchase testing with Apple's real purchase interface without charges.

  1. Vaya a Dashboard > MemberPress App > Build History.
  2. Locate the desired iOS Release build.
  3. Descargar el IPA file to a local device.
  4. Log in to App Store Connect en appstoreconnect.apple.com.
  5. Vaya a TestFlight in the app section.
  6. Upload the downloaded IPA file to TestFlight.
  7. Wait for processing to complete.
  8. Haga clic en Add Testers under internal or external testing.
  9. Enter tester Apple ID email addresses.
  10. Send testing invitations to testers.
  11. Testers install the TestFlight app on iOS devices.
  12. Testers accept the invitation and install the test app.
  13. Testers navigate to products within the test app.
  14. Verify products display with real pricing in local currency.
  15. Complete test purchases using Apple's real purchase UI.
  16. Confirm the purchase process in sandbox mode without billing.
  17. Verify membership or content access unlocks correctly after purchase.

TestFlight sandbox mode processes purchases through Apple's real interface without charging actual payment methods.

Testing Android Purchases with Internal Testing

Internal Testing enables Android purchase testing with Google Play's real purchase interface without charges.

  1. Vaya a Dashboard > MemberPress App > Build History.
  2. Locate the desired Android Release build.
  3. Download the APK file to a local device.
  4. Log in to Google Play Console at play.google.com/console.
  5. Vaya a Testing > Internal testing in the app section.
  6. Haga clic en Create new release or upload to existing release.
  7. Upload the downloaded APK file.
  8. Complete release notes and configuration.
  9. Haga clic en Review release y luego Start rollout to Internal testing.
  10. Wait for approval to complete.
  11. Navegue hasta el Testers tab under Internal testing.
  12. Add tester email addresses for Google accounts.
  13. Copy the install link provided by Play Console.
  14. Send the install link to testers.
  15. Testers open the link on Android devices and install the app.
  16. Testers navigate to products within the test app.
  17. Verify products display with real pricing in local currency.
  18. Complete test purchases using Google Play's native purchase dialogs.
  19. Confirm the purchase process in testing mode without billing.
  20. Verify membership or content access unlocks correctly after purchase.

Internal Testing processes purchases through Google Play's real interface without charging actual payment methods.

Verifying Transaction Logging

Transaction logging verification confirms proper purchase recording in WordPress.

  1. Complete a test purchase in either the Test App or the Release build.
  2. Vaya a Dashboard > MP App > In-App Purchases > Transactions.
  3. Locate the test transaction in the transactions list.
  4. Verify transaction details display correctly, including:
    • Product name and identifier;
    • Purchase date and time;
    • User account information;
    • Transaction status.
  5. Confirm transaction status shows as completed or an appropriate status.
  6. Verify membership enrollment or content access grants correctly.

Proper transaction logging confirms that purchase processing and enrollment functionality work correctly.

¿Le ha resultado útil este artículo?

Artículos relacionados

chica del ordenador

¡Consiga MemberPress hoy mismo!

Empieza a cobrar por los contenidos que creas.