Airwallex logo

Test and go live

Validate the agentic commerce path you built, then switch production values on with your Account Manager.

Copy for LLMView as Markdown

To validate the path you built and switch it on, prepare a sandbox account with your Account Manager, run the checks for that path, and move the same configuration to production.

Ask your Account Manager to arrange the test. They provide the sandbox host names, your sandbox merchant id, the signature test vector, and how to load a test catalog.

Before you begin

  • The path you are launching, built as described in Sell on your own storefront or Sell on external AI surfaces.
  • A create checkout endpoint reachable from sandbox, if you are on an end-to-end path.
  • A Webhook endpoint. See Listen for webhook events.

Prepare a sandbox account

What you needDetail
A sandbox merchant accountWith agentic commerce enabled, as in Enable Airwallex Agentic Commerce Suite.
A create checkout endpoint reachable from sandboxRegistered in your sandbox merchant configuration, with its own signing secret. Use a separate secret from production. Required on the end-to-end paths only.
A test catalogA small feed: a handful of products with several variants, including at least one deliberately out of stock. Required on the end-to-end paths only.
The sandbox agent endpointsRequired only when the external AI surface requires that configuration. The ACP and UCP hosts you drive test checkouts from. Your Account Manager provides the host names and tells you which surfaces need them.
  1. Ask your Account Manager to enable agentic commerce on your sandbox account and return your merchant configuration.
  2. Point your create checkout URL at an endpoint reachable from the sandbox, and store the sandbox signing secret separately from production. Skip this step on a payment-only path.
  3. Supply the test catalog and confirm ingestion. Skip this step on a payment-only path.
  4. Verify your signature implementation offline first, against the test vector your Account Manager provides, before you drive any traffic. See Verify the signature.
  5. Drive a checkout and confirm your endpoint is called and your Webhook fires. The payload is the sample payload.

What to test on your path

Your pathWhat has to work before you go live
Own storefront, end to endCatalog ingested. Create checkout API signed and authoritative. Webhook resolves to an order. Session token endpoint mints tokens and is rate-limited.
Own storefront, payment onlyPaymentIntent created from your amount. The client secret reaches the assistant that opens the payment form, and your API key stays on your server. Confirm is either from the assistant or from your server. Webhook resolves to an order.
External surfaces, end to endEverything in the own-storefront end-to-end path, plus a basket with no customer and no address, and an OAuth round trip that populates customer.id.
External surfaces, payment onlyEverything in the own-storefront payment-only path, plus an agreed failure path with your provider.

Scenarios to run on an end-to-end path

  1. A basket you can fulfill in full, with two fulfillment options. Confirm the shopper's choice reaches your Webhook.
  2. A basket where one line is partially available. Confirm the quantity adjustment is reflected in the totals.
  3. A basket where one line is out of stock entirely. Confirm it is dropped from both the response and the method's line_item_ids.
  4. A call with no customer and no shipping address. Confirm you return pickup options rather than failing. On ACP you can also return digital options. Do not return DIGITAL or LOCAL_DELIVERY when the agent speaks UCP.
  5. A signed-in shopper. Confirm customer.id reaches your endpoint.
  6. A deliberately bad signature. Confirm you reject it.
  7. A redelivered Webhook. Confirm you do not fulfill twice.

Go live

  1. Move your create checkout endpoint and signing secret to production values in your merchant configuration.
  2. Load your production catalog and confirm ingestion.
  3. Confirm your Webhook endpoint is reachable from production and your reconciliation job is running.
  4. Agree the launch surfaces and timing with your Account Manager.
  5. Run one real low-value purchase end to end before you announce the launch.

Next steps

Was this page helpful?