Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Order Fulfilment
  • Publish App
  • Change Log
  • Getting Started
  • Migration to the New API
  • Shipping Management
    • Create App
    • App Cycle
    • Setup App
    • Test App
  • Order Fulfilment
    • Create App
    • App Cycle
    • Setup App
    • Test App
  • Shipments
    • Create Shipment
      POST
    • List Shipments
      GET
    • Update Shipment Details
      PUT
    • Shipment Details
      GET
    • Cancel Shipments
      POST
    • Return Shipments
      POST
    • Shipment Tracking
      GET
  • Shipping Companies
    • List Shipping Companies
      GET
    • Shipping Company Details
      GET
  1. Order Fulfilment

Test App

Testing Apps is one step closer towards having your Apps on Salla Apps Store. These step are critical and are simplified in this article.

📙 What you'll learn:#

In this article we'll go through the App testing to test the Orders Fulfilment App functions using a demo store.
How to Test your Orders Fulfilment Apps

How to Test your Order Fulfilment Apps#

App testing is important in order to discover defects/bugs before publishing, this guarantees that the App functions perfectly. Salla offers demo stores where developers can test their Apps.
Here we will go through testing Orders Fulfilment Apps.

App Testing Scenarios#

Testing Apps on demo stores provides a safe and controlled environment to evaluate App functionality and performance, helping the developer verify App's behavior before publishing it.
The developer can test the Order Fulfilment App with a Salla demo store to inspect the link between the Orders Fulfilment App and Salla stores. For Orders Fulfilment Apps there is a number of events that are triggered in the store including order.created which is triggered by creating an order in the store.
In this testing scenario we will illustrate the merchant creating an order and then check the Webhooks Log to see the event.
1
First Step
The developer will need to set up the App's Webhook URL to receive the store notifications, for the sake of this test we will set up a workable URL from https://webhook.site/. This will act as Salla Server, which will allow the developer to listen for Salla webhooks.
2
Second Step
Create a demo store.
3
Third Step
Install and authorize the App on the demo store.
4
Fourth Step
Create an order on the Demo Store dashboard.
5
Fifth Step
Generate a Shipping policy.
After finishing all the steps, the developer can check the Webhooks Log on the Salla Partners Portal
to see the triggered event, which in our scenario is order.created.
image
The above summarized steps are thoroughly explained below with images for an elaborated explanation.
The developer may proceed to App Details page in the Partners Portal to start the App testing.
image
1.
Set up the webhook URL using Webhook stie. More details in here.
image
2.
Scroll down to App Testing section to create a demo store and click on "Create Demo Store"
image
This will prompt a from for Demo Store details
image
3.
After creating a demo store, click on Install App button located on the right of the demo store chosen.
image
This will prompt an authorization request as customary to the real time experience.
image
Click on Authorize App, which will redirect the page to the demo store where the developer can test the Shipping App.
image
4.
Create an Order on the demo store, by clicking on Orders on the right side of the page, and then click on create new order.
image
5.
Fill up creating Order details as shown below.
image
Getting here means that the order has been successfully created in the store and the developer can check the
Webhooks Log on the Salla Partners Portal to see the triggered event, which in our scenario is order.created.
image
🎉
Hurray!! You have successfully tested the link between your App and Salla store using a demo store. The App is now ready to go through Publishing process.
Modified at 2025-03-06 07:31:57
Previous
Setup App
Next
Shipments