Test your preorder offer
Testing a preorder offer on your Shopify store ensures everything works smoothly before making it available to your customers. Follow these steps to identify the product, set up the preorder offer, complete a checkout, and verify the order in Stoq’s reports.
Access Discount Section: In your Shopify admin, go to Discounts.
Create Discount: Click on Create discount and select Discount code.
Setup Discount Details: Enter a name for the code, like TESTORDER.
Discount Type: Choose Percentage and set it to 100%.
Apply to Products: Specify that the discount applies to all products or select specific ones.
Save Discount: Save the discount code.
Add a preorder product to your cart, and apply the discount code at checkout. Complete the purchase process.
Navigate to Payment Providers: In Shopify admin, go to Settings > Payments.
Choose Bogus Gateway: In the Accept credit cards section, click Add a provider > Third party credit card provider > Bogus Gateway.
Activate the Gateway: Click Activate to enable it.
Add a preorder product to your cart. Proceed to checkout, and enter these bogus payment details: Name on card (any name), Card number (1 for success, 2 for failure, 3 for error), CVV (any 3 digits), Expiration date (any future date). And complete the checkout process.
Visit Your Storefront: Open your store’s website as a customer would.
Find the Preorder Product: Navigate to the product page you set up for preorder

Add to Cart and Checkout: Add the product to your cart and proceed to checkout. Complete the purchase as a customer, using test payment details if your store is in test mode. If you're doing a test checkout, it's important to note that there are 2 options as below:
Review Order Confirmation: Ensure you receive an order confirmation email indicating the product was preordered.

Log in to Stoq: Access your Stoq account and navigate to the reports section.
Find the Preorders Report: Head to Reports > Preorders to see your preorders list
Verify Order: Confirm that the test order you placed appears in the report. Check the details to ensure everything is recorded correctly, including the product, customer information, and preorder status.

Prepare for testing
Method 1: Using a 100% Discount Code
Access Discount Section: In your Shopify admin, go to Discounts.
Create Discount: Click on Create discount and select Discount code.
Setup Discount Details: Enter a name for the code, like TESTORDER.
Discount Type: Choose Percentage and set it to 100%.
Apply to Products: Specify that the discount applies to all products or select specific ones.
Save Discount: Save the discount code.
Add a preorder product to your cart, and apply the discount code at checkout. Complete the purchase process.
Method 2: Using Shopify’s Bogus Gateway
Navigate to Payment Providers: In Shopify admin, go to Settings > Payments.
Choose Bogus Gateway: In the Accept credit cards section, click Add a provider > Third party credit card provider > Bogus Gateway.
Activate the Gateway: Click Activate to enable it.
Add a preorder product to your cart. Proceed to checkout, and enter these bogus payment details: Name on card (any name), Card number (1 for success, 2 for failure, 3 for error), CVV (any 3 digits), Expiration date (any future date). And complete the checkout process.
Complete a Test Checkout
Visit Your Storefront: Open your store’s website as a customer would.
Find the Preorder Product: Navigate to the product page you set up for preorder

Add to Cart and Checkout: Add the product to your cart and proceed to checkout. Complete the purchase as a customer, using test payment details if your store is in test mode. If you're doing a test checkout, it's important to note that there are 2 options as below:
Review Order Confirmation: Ensure you receive an order confirmation email indicating the product was preordered.

Verify the Order in Stoq’s Reports
Log in to Stoq: Access your Stoq account and navigate to the reports section.
Find the Preorders Report: Head to Reports > Preorders to see your preorders list
Verify Order: Confirm that the test order you placed appears in the report. Check the details to ensure everything is recorded correctly, including the product, customer information, and preorder status.

Updated on: 06/02/2025
Thank you!