Skip to content

Publishing to production ​

This guide covers the complete process to migrate your integration from sandbox to production — from the technical checklist to the review in the panel and publication in the store.

Overview ​

Publishing to production involves three parts:

  1. Technical checklist — validate that your integration is complete and resilient in sandbox.
  2. Review (homologation) — you start the review in the panel, send the requested evidence, and the Appmax team validates your integration.
  3. Publication — once the review is approved, the app is published in the store.

Only public apps go through review

Private apps don't go through review: you publish the app yourself, it doesn't appear in the storefront, and it can only be installed through its link. The review flow described on this page applies only to public apps.

Prerequisites ​

Before starting the review, confirm your sandbox integration meets every item below.

Installation flow ​

  • [ ] The complete 4-step flow (/oauth2/token → /app/authorize → redirect → /app/client/generate) is implemented and working in sandbox.
  • [ ] Your validation URL (health check) is publicly reachable, returns HTTP 200 and an external_id in valid UUID format.
  • [ ] Your validation URL responds in under 5 seconds (Appmax timeout).
  • [ ] You store the external_id of each installation in your database.
  • [ ] You store merchant credentials (client_id and client_secret) securely per installation.

Webhooks ​

  • [ ] Your webhook URL is publicly reachable and returns HTTP 200 for all expected events.
  • [ ] You process webhooks idempotently (redeliveries are possible).
  • [ ] You respond to the webhook in under 5 seconds — heavy processing must be async.
  • [ ] You handle the events relevant to your use case (payment, refund, cancellation, etc.).

API operations ​

  • [ ] You correctly differentiate app credentials (installation) and merchant credentials (transactions on /v1/*).
  • [ ] You handle token expiration (1 hour) by requesting a new one when needed.
  • [ ] You respect the order lookup rate limit (100 requests per minute per client_id) and follow order status through webhooks, not polling.
  • [ ] You handle key HTTP status codes (401, 422, 429, 5xx) with proper retry and backoff.
  • [ ] Monetary values are always sent as integers in cents (never float).

Security ​

  • [ ] URLs (webhook and validation) are using HTTPS with a valid certificate.
  • [ ] Credentials (client_secret) are not versioned in code.
  • [ ] Logs do not expose credentials, tokens, or sensitive customer data (CPF, card).

Sandbox testing ​

  • [ ] Full installation tested end-to-end in sandbox.
  • [ ] At least one order created and paid in sandbox (use the test cards).
  • [ ] Webhooks received and processed in sandbox for the main events.
  • [ ] Error scenarios tested (declined card, invalid hash, expired token).

Public app review (homologation) ​

You run the review yourself, right in the app's panel: you start it, send the evidence through a form, and follow each decision from the Appmax team. There's no need to request it through support or by email.

How to start ​

  1. Make sure your integration meets the prerequisites.
  2. With the app in the Review your app status, click Start review in the app's panel.
  3. Read the guide on what to prepare and confirm "I've read what I need to prepare for the review."

The app moves to the In review status and the production credentials become available on the app page. Use them to place the production test order the form asks for.

INFO

The Appmax team no longer moves the app into review. The exception is a re-review of an app that has already been in the store.

What to send in the form ​

The App review form is saved automatically, so you can fill it in gradually. A side panel shows how many steps are complete and what's missing.

Video of the app working

  • A YouTube, Vimeo, Loom, or Google Drive link, public or unlisted, viewable without login.
  • Preferably up to 10 minutes long, at 720p or higher.
  • Show the installation from the App Store and the app's main flow end to end.

Access to your environment

  • The login page URL of your system.
  • A user for [email protected], with a password or with access via a code sent by email. Two-factor authentication through an authenticator app or SMS is not supported.
  • A checkout URL with products, so the team can place a test payment.

Production order

  • The ID of a real order paid by card, placed with the production credentials.
  • A screenshot of the receipt in JPG, PNG, or WEBP, up to 5 MB. Show only the last 4 digits of the card.

Installation documentation (when requested)

  • A Markdown (.md) file up to 2 MB. It may contain HTML or <script> snippets inside code blocks.

Notes (optional)

  • Any context that helps the team with the review.

Files are uploaded straight from your browser. When every step is complete, submit the form. Once submitted, it can no longer be edited.

Review by the Appmax team ​

After you submit, the team reviews what you sent and makes one of these decisions:

DecisionWhat happens
Form approvedThe status changes to Under review with our team. Validation continues with the team, who talk to you through the support bubble in the panel. You can still update the access to your environment.
Adjustments requestedThe team gives the reason. You fix it in the same review, with what you had already filled in, and submit again.
Approved and publishedThe app is published in the store.
RejectedThe team gives the reason. The app goes back to Review your app and you can start a new review.

Each decision arrives by email, and the reason for adjustments or rejection shows up in the panel.

During the review ​

  • The app stays out of the storefront until approval.
  • You can keep editing the app (About, Settings, Images). Edits are recorded in the history.
  • You can't take the app out of review by changing its status while a review is open.
  • The history of every review of the app is available in the panel.

Discarding the review ​

While you're preparing the form or making adjustments, you can discard the review. The app goes back to Review your app and what you filled in is not recovered. The Appmax team can also discard a review.

Environment access after approval ​

Once the app is approved, the access to your environment is stored securely for app support while the app is in the store. The team uses it only to investigate issues with your app. You can update it or remove the password at any time in the panel.

The stored password is deleted if the review is rejected or discarded, or if the app is deactivated.

Re-review of an app that was already in the store ​

If an app that was already published goes back under review, the re-review is handled by the Appmax team, without the review form.

Test scenarios evaluated ​

The list below summarizes the essential scenarios evaluated during the review. Testing them in sandbox beforehand speeds up the process — other tests may be performed, but checking these first improves accuracy.

General validations

  • [ ] App logo
  • [ ] App description
  • [ ] Support email
  • [ ] App installation

Purchase and refund — test with both an individual (CPF) and a business (CNPJ) customer

ScenarioCard with interestCard without interestPixBoleto
Purchase☐☐☐☐
Full refund☐☐☐☐
Partial refund☐☐☐☐

Other scenarios

  • [ ] Soft descriptor on card purchases
  • [ ] Tracking code integration
  • [ ] IP recorded on orders
  • [ ] Purchase with discount coupon
  • [ ] Purchase with shipping + interest
  • [ ] Purchase with shipping + discount coupon
  • [ ] Purchase with more than one different product in the cart
  • [ ] Purchase with multiple units of the same product
  • [ ] Order status updates

INFO

If your app isn't focused on payment processing through Appmax, the scenarios above may be disregarded — the review follows other criteria.

What changes in production ​

ItemSandbox and production
URLs (authentication, API, authorization redirect, JS script)The domain changes: see Sandbox and production environments
CredentialsSandbox: received at the start of testing
Production: available on the app page when you start the review
Cards acceptedSandbox: only test cards
Production: real cards
Pix/boletoSandbox: simulated
Production: real, with effective charge
WebhooksSandbox: sent to the sandbox URL
Production: sent to the production URL

WARNING

Update every URL of your integration when migrating to production — not just the API one. Authentication, redirect, and panel-configured URLs (webhook and validation) also change.

After publication ​

After your app is published, we recommend:

  • [ ] Setting up monitoring on validation and webhook URLs (uptime, latency, errors).
  • [ ] Setting up alerts for health check failures and 5xx spikes.
  • [ ] Tracking the webhook delivery rate in the first days.
  • [ ] Keeping credentials in a secret manager (AWS Secrets Manager, Vault, etc.), not plain environment variables.
  • [ ] Preparing a runbook for credential rotation in case of leaks.

Troubleshooting ​

"I submitted the review and got no reply" ​

Check:

  1. The app and review status in the app's panel — the decision and the reason for adjustments or rejection show up there.
  2. That the email with the decision did not land in your inbox's spam.

If you need to talk to the team, use the support bubble in the panel.

"I'm getting 401 in production with credentials that worked in sandbox" ​

Sandbox credentials do not work in production. The production credentials are different and become available on the app page when you start the review. Replace in every key in your system:

  • App client_id and client_secret
  • Merchant client_id and client_secret (will be regenerated on the first production installation)

"My app was published, but the first real installation failed" ​

Most common behaviors:

  • The production validation URL is not publicly reachable.
  • The production webhook URL returns error for real events (issue that didn't appear in sandbox due to lower volume).

Check logs, firewall, and IP rules. See Installation troubleshooting for details.

"I can no longer access the old credentials" ​

Store your production credentials securely. If you lose them:

  1. Use the Appmax panel to request regeneration (may invalidate active integrations).
  2. Talk to the team through the support bubble in the panel for guidance.

Next steps ​