How to Test Shopify

Test Shopify OAuth connection, webhook registration, order automation, delayed rules, and package logs.

Last updated

On this page

Before You Start

  1. Prepare a Shopify development store where you can create safe test orders.
  2. Create and approve a WhatsApp template in WAPI.
  3. Use a safe WhatsApp-capable customer phone number in country-code format.

Connect the Shopify Store

  1. Open Integration Marketplace > Shopify > Accounts.
  2. Click Connect Store.
  3. Copy the Shopify OAuth Callback URL from WAPI.
  4. In Shopify Dev Dashboard, add that URL under Allowed redirection URLs.
  5. Enter the store domain, Client ID, and Client Secret in WAPI.
  6. Approve the app in Shopify and return to WAPI.
  7. Confirm the saved account row shows OAuth connected and webhook registration status.

Create the WAPI Rule

  1. Open Shopify > Mappings/Rules & Jobs.
  2. Click Add Rule.
  3. Select the saved Shopify account.
  4. Choose Order Created as the first event to test.
  5. Choose Send WhatsApp template as the action.
  6. Choose Order/Customer Phone Auto for the first test, or choose a stricter phone field such as Shipping Phone.
  7. Select the approved template and map every template variable.
  8. Choose Send immediately and save the enabled rule.

Place and Confirm a Test Order

  1. Place one test order in Shopify using a WhatsApp-capable phone number.
  2. Return to WAPI and open Shopify > Mappings/Rules & Jobs.
  3. Confirm Job History shows the Shopify event as processed.
  4. Open Recent Activity and confirm the processed Shopify event appears.
  5. Confirm the WhatsApp message arrives on the test phone.

Test a Critical Event

  1. Choose one additional supported event such as Order Paid, Refund Created, Customer Created, or Product Updated.
  2. Create or edit one matching rule for that event.
  3. Perform the matching action in Shopify.
  4. Confirm Job History and Recent Activity show the event.
  5. Confirm the expected WhatsApp message or internal test message arrives.

Test a Delayed Rule

  1. Edit the rule and choose Delay by minutes.
  2. Place another safe test order.
  3. Wait until the due time has passed.
  4. Open Settings > Cron Worker and run Connector Delayed Automation when you want to process due jobs manually.
  5. Confirm the delayed message arrives after the delay time.

What to Check if It Fails

  1. Confirm the Shopify app callback URL exactly matches the WAPI callback URL.
  2. Confirm Shopify OAuth approval completed and the saved account shows connected.
  3. Confirm automatic webhook registration status on the saved account row.
  4. Confirm the selected Shopify event is supported by WAPI and has an enabled rule.
  5. Confirm the recipient phone source exists in the Shopify order/customer payload.
Next ArticleHow to Test HubSpot