How to create a Channable Testorder
Before going live with marketplace order imports, you'll want to verify your Channable Connect configuration works correctly. This guide shows you how to create test orders to validate your setup—shipping methods, invoicing, customer handling, and more—without needing actual marketplace orders.
Creating a Test Order
From the Admin Panel
The easiest way to create a test order is directly from the Magento admin panel:
- Go to Channable → Orders
- Scroll down to the Webhooks section
- Find the store view you want to test
- Click the Simulate Order button
The extension will create a test order using a random product from your catalog and redirect you to the newly created order.
Using URL Parameters
For more control over the test order, you can add parameters to the simulation URL. The base URL is shown in your admin panel, and you can append these parameters:
| Parameter | Description | Example |
|---|---|---|
product_id |
Use a specific product instead of random | product_id=42 |
qty |
Set the order quantity | qty=2 |
country |
Set the customer's country code | country=BE |
lvb |
Simulate an FBB/LVB (Fulfillment by Bol) order | lvb=1 |
Example URL with parameters:
https://yourstore.com/admin/channable/order/simulate/store_id/1/product_id/42/qty/2/country/DE
Or using query string format:
https://yourstore.com/admin/channable/order/simulate?store_id=1&product_id=42&qty=2&country=DE
Parameter Details
product_id
By default, the simulator picks a random enabled simple product from your store. Use product_id to test with a specific product.
When to use:
- Testing a specific product that had import issues
- Verifying configurable/grouped/bundle product imports work
- Testing products with special pricing or attributes
Example: product_id=123
qty
Sets the quantity for the test order. Defaults to 1.
When to use:
- Testing stock deduction with multiple items
- Verifying quantity-based shipping rules
- Testing tier pricing behavior
Example: qty=5
country
Sets the country code for the billing and shipping address. Defaults to "NL" (Netherlands).
When to use:
- Testing orders from different countries
- Verifying tax calculation for international orders
- Testing country-specific shipping methods
- US orders will automatically include state information (Texas/TX)
Example: country=US, country=BE, country=DE
lvb
When set to 1, simulates a Fulfillment by Bol (FBB/LVB) order. These orders arrive with status "shipped" since bol.com handles fulfillment.
When to use:
- Testing FBB/LVB order handling
- Verifying auto-ship functionality
- Testing stock behavior for fulfilled orders
Example: lvb=1
What Gets Created
A test order includes:
Customer Information:
- Name: "Test From Channable"
- Email: dontemail@me.net
- Company: "TestCompany" / "Do Not Ship"
- Phone: 01234567890
Address:
- Street: "Street" with house number 1
- City: UTRECHT
- Zip: 1000 AA
- Country: Based on
countryparameter (default: NL)
Order Details:
- Channel: "Channable Test"
- Order ID: TEST-{random}
- Channable ID: {random 5-digit number}
- Shipping method: Prime
- Payment method: bol
- Commission: 10% of product price
- Memo: "Test Order from Channable"
Testing Scenarios
Basic Order Import Test
- Create a simple test order without parameters
- Verify the order appears in Magento
- Check shipping method is assigned correctly
- Verify invoice is created (if auto-invoice is enabled)
- Check customer data (or guest order if customer import is disabled)
International Order Test
/channable/order/simulate/store_id/1/country/DE
Verify:
- Correct country appears on addresses
- Tax calculation is correct for the country
- Shipping method handles international orders
FBB/LVB Order Test
/channable/order/simulate/store_id/1/lvb/1
Verify:
- Order imports with "shipped" status
- Auto-ship creates shipment (if enabled)
- Stock is handled correctly (if "Disregard stock" is enabled)
- Order reaches "Complete" status (if auto-invoice + auto-ship enabled)
Specific Product Test
/channable/order/simulate/store_id/1/product_id/42/qty/3
Verify:
- Correct product is added to order
- Quantity matches parameter
- Stock is deducted correctly
- Pricing is calculated properly
Troubleshooting Test Orders
"Order import not enabled for this store"
Order import must be enabled for the store view you're testing.
Solution: Go to Channable → Orders → Enable and set to Yes for your store view.
"Product not found" or empty order
The random product selector couldn't find an eligible product.
Solution:
- Use
product_idparameter with a specific enabled product - Ensure you have enabled simple products in the store
- Check that products have stock (unless backorders are enabled)
Test order created but configuration seems wrong
The test order bypasses some validation that real orders go through.
Solution: After testing basic functionality, also test with a real (or staging) Channable webhook to verify the full flow.
Expert: Customizing Test Data
For developers who need to modify the test order data structure, the simulation logic is in:
Magmodules\Channable\Service\Order\ImportSimulator
Key Methods
getTestData(array $params): array
Returns the complete order data array in Channable format. This is where you can modify:
- Customer details (name, email, phone)
- Address information
- Price structure (subtotal, shipping, commission)
- Product data format
getProductData(array $params): array
Retrieves product information for the test order. Supports:
- Specific product by ID (
product_idparameter) - Random product selection
- Custom price override (
priceparameter—not exposed in URL)
getRandomProduct(): DataObject
Selects a random enabled product. Respects:
- Store filter
- Product type settings (includes grouped/bundle if enabled in config)
- Status filter (enabled products only)
Example: Testing with Custom Data
If you need to test specific scenarios not covered by URL parameters, you can temporarily modify getTestData():
// In getTestData(), modify the customer data:
"customer" => [
"gender" => "female",
"phone" => "0612345678",
"email" => "test@example.com",
"first_name" => "Custom",
"last_name" => "Test",
"company" => "My Test Company",
"business_order" => true, // Test B2B order
],
Or test different price scenarios:
"price" => [
"currency" => "EUR",
"subtotal" => 100.00,
"shipping" => 5.95,
"discount" => 10.00,
"total" => 95.95,
"transaction_fee" => 2.50, // Test CDiscount fee
"commission" => 15.00,
],
Note: Remember to revert any code changes after testing, or create a separate development branch for testing modifications.
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team