Place a test order
Guide on how to place a test order
Please ensure that you are using the Staging environment to place test orders.
Placing your first test order
To test your Rye integration, you can place test orders for Amazon and Shopify products. Read more about what products can be tested below.
Amazon products
Amazon products
All Amazon products are available for testing.
Use any as the productId
when adding an item to cart. As long as the cart is submitted with a valid test credit card as the payment method, Rye will consider the order to be a test order and won’t place an actual order on Amazon.
Shopify products
Shopify products
For Shopify products, Rye has created a development store that can be used by developers for placing test orders.
If testing the Sell Anything API:
- Test store:
https://rye-staging-sell-anything.myshopify.com/
- Password:
rye
- Example Variant ID:
47405773390109
If testing the Sync API:
- Test store:
https://rye-staging-test-store.myshopify.com/
- Password:
rye
- Product available for testing:
- Product ID
7620500881599
- Variant ID
42707875856575
- Product ID
If you would like to test with your own Shopify store, follow this guide to create a development store with your own products.
Be sure to only use test credit cards when placing test orders. If you use a real credit card, Rye can’t guarantee that the card won’t be charged.
To place a test order, follow the steps below:
- Create a cart with the Amazon
productId
or the ShopifyvariantId
- If you don’t have a product handy for testing, then refer to the previous section for sample products to test with.
- Update buyer identity for the cart if you did not include one during cart creation
- Create a Spreedly payment token with the following credit card information:
- Credit Card Name: Any first name and last name (Ex:
John Doe
) - Credit Card Number:
4242 4242 4242 4242
or any other valid test credit card - CVV: Any 3 digits
- Expiration Date: Any date in the future
- Credit Card Name: Any first name and last name (Ex:
- Submit the cart
Now that you’ve successfully placed a test order, you can test out order updates via your webhook integration or view order details in the Rye Console.
Testing different flows
Rye’s staging environment supports any valid test card. Both Spreedly and Stripe provide a list of test card numbers that can be used for testing, and different test cards can be used to test different order flows. A polished Rye integration should be capable of handling as many different flows and edge cases as possible to ensure a seamless experience for shoppers.
For instance, the Stripe test card 4000 0027 6000 3184
is one of many test cards that can be used to test 3D Secure authentication flows.
FAQs
Can I use Stripe test cards for testing my production Shopify store?
Can I use Stripe test cards for testing my production Shopify store?
Rye recommends keeping your testing environment separate from your production environment. This is because otherwise you might accidentally place real orders when you intended to place a test order. If you are having difficulty setting up separate environments, please reach out to our support team for assistance.
If you must place test orders against your production Shopify store, you can enable test mode for Shopify payments. This will allow you to make test payments using Stripe test cards.