Processing Orders in Spree Commerce
Isaac Freeman · Aug 25, 2014 · 3 min read · Share:
Like every eCommerce platform, Spree Commerce is designed around assumptions about how a “typical” business processes orders. For many businesses this means little or no customization is required. But for others, particularly those with a brick-and-mortar legacy, customizations may be extensive.
The key is finding a balance between customizations (with their initial and long-term costs) and your ability to modify business processes to align with Spree’s model whenever possible.
Authorize/Capture
Processing a credit card payment occurs in two steps: Authorize and capture. A payment is “authorized” when the credit card company confirms that the customer has sufficient funds available. It’s “captured” when the company actually transfers the funds.
Some eCommerce platforms do the capture step automatically when authorization is confirmed. Others require the storekeeper to check each authorized order and manually confirm that they’re ready to capture funds. Manual capture is the default.
Should I use automatic or manual capture?
The choice between automatic and manual capture depends on the nature of your business. If you deal in a high volume of orders that can be processed quickly and require little customer interaction, automatic capture can make your business very efficient.
If you often need to discuss orders with clients and adjust them, have long lead times before you can deliver, or need to manage stock outside of Spree, manual capture may be a better option.
Processing an Order in Spree Commerce
1. Log in to Spree Admin
You'll be taken to the orders page. A list of completed orders shows the most recently completed at the top.
2. Select an order for payment
Choose an order you need to process and click on the payment state (usually “Balance Due” or “Failed” – click right on the text). This will take you straight to a page listing the payments for that order.
3. Capture the payment
In the most common case, there’ll be an authorized payment ready to capture for the full amount of the order. Click on the checkmark button to capture the payment.
If the order has a failed payment you can edit the amount for each payment, or void it with the cross button. You can also create a new payment to record payments made in cash or credit cards outside Spree.
When the payments add up to the order total, you’re done. Click on “Back to Orders List” to return to the list of orders. The Payment State for your order has changed to “Paid.”
4. Select an order for shipping
From the Orders list, click on the edit button. This will take you to the main order edit page. You can edit the order, add or remove products, apply discounts or extra charges (adjustments) and change shipping details.
5. Ship
You should see something like "[Code number] Ready Package From [Stock location]" and a SHIP button. Click on SHIP, and the order will be recorded as shipped. Click on “Back to Orders List” to return to the list of orders, and you’ll see the Shipment State for your order has changed to “Shipped.”
Let's work together
Tell us about your project and we'll get back to you shortly.
Join The Conversation
More On The Blog
8 Best Ruby On Rails Gems For eCommerce Applications
Everyone within the eCommerce space knows of Ruby On Rails. This framework is used by approximately 3,866,870 websites right now, showing just how efficient it can be for creating efficient yet beautiful web applications. Now, this unique Ruby-based framework comes with its fair share of add-ons and extra features to discover as well. One of the most important ones is the gems in Ruby On Rails.
Sol Dieguez —
Nov 30, 2022
How To Improve Your eCommerce With PHP
With the ever-changing state of the IT industry and the fluctuating eCommerce development trends, it’s more than necessary to be flexible in trying out different tech stacks for your eCommerce site. Now, PHP is one of the most popular programming languages out there, and one with a long-standing track record.
Sol Dieguez —
Nov 24, 2022
Tips For Getting The Most Out Of Your AWS Free Tier
This cloud computing service currently has over one million users, with enterprise-scale customers making up about 10% of their clients. This shows just how widely used AWS is and gives a solid reason to try it out: it seems to work for most eCommerce businesses out there. Now, there’s a way to check out AWS for free and see if it works for your online business.
Sol Dieguez —
Nov 18, 2022