How to Build an Online Order Form that Automatically Calculates Totals and Accepts Payments

Create professional, easy-to-manage order forms without writing code or investing in e-commerce software.

Build Time & Skill

20-30 min

Beginner

What you'll learn

How to build a complete order form with product selection, price and tax calculations, and integrated payment processing that you can share via link or QR code

Screenshot of a coffee blend selected in a Repeating Section of Cognito Forms. Also shows the form's payment section with two coffee blends selected, prices for each, and fields to enter card information

If you’re looking for an easy way to accept orders online, there’s no need to rely on complicated e-commerce tools or expensive developers. Whether you’re selling tickets, services, or physical products, you need a system that looks professional, calculates pricing accurately, and processes payments securely.

With Cognito Forms, you can create a custom online order form without complicated setup. When customers choose what they want, inventory updates automatically, prices calculate instantly, and payments are processed securely through your connected payment provider. You also get a clean, organized space to manage every step, from the moment an order is submitted to when it’s fulfilled.

This approach helps you:

  • Accept orders 24/7 without manual work. Customers place orders anytime while Cognito Forms tracks inventory and processes payments automatically, eliminating back-and-forth emails and manual invoicing.
  • Reduce pricing errors and disputes. Automated calculations ensure accurate totals before payment, preventing mistakes that create customer service headaches.
  • Look professional without high costs. Deliver a polished ordering experience that builds trust with customers, without paying for expensive e-commerce platforms or custom development.
  • Track orders efficiently in one place. View all order details, payment status, and customer information from a single, organized view, making fulfillment and accounting straightforward.

Step-by-Step: Building Your Order Form

Create a professional order form by adding the services or products you offer, setting up quantity tracking and price calculations, connecting your payment processor, and creating an organized view to manage orders.

Step 1: Create your form and add products

Start by creating a new form and adding a Choice field that professionally displays your products with images.

Set up the form and Choice field

Animated GIF of adding a Repeating Section to a Coffee Order Form, adding a Choice field labeled Choose your blend inside of the Repeating Section, and setting the Choice field style to Cards

  1. Create a new form and give it a name that makes sense for you.
  2. Add a Choice field and label it “Select Products” or “Choose Services.”
  3. For the Style setting, choose the style you like best. Our Card layout works well for order forms by presenting your products with organized, labeled images.
  4. Set up your field for multiple item selections, if desired. You have a couple of options here. If you want customers to:
    • Specify different quantities for multiple products, place your Choice field inside a Repeating Section or Table.
    • Select multiple items with the same quantity for each item, choose Multiple under the Choice field’s Selection Type setting.

Add products and images

Animated GIF showing how to add Choice options, turn on Show Images, adjust the image size, move the label position, and add images to each option for a Choice field in Cognito Forms

  1. Add each product as a Choice.
  2. Add an image for each product. You can click the image icon to the left of the option’s name, or drag your image and drop it onto the icon.
  3. Check Show Images, adjust the Image Size, and choose your desired Label Position.

Use consistent, high-quality images that clearly show each product. This dramatically improves the ordering experience and reduces customer questions about what they’re buying. Images help customers make confident purchase decisions and give your form a professional, polished appearance.

Quick Tip

You can easily copy and paste your choices from Excel or another text editor. Ensure each choice is separated by a line break, copy all the lines you want to add, click into the first line of the Choices, and paste. Each line item will populate into the list as its own choice, eliminating the need to manually copy every item individually.


Step 2: Set prices and enable quantity limits

Assign a price to each product and set Quantity Limits to prevent overselling. This keeps your inventory accurate and protects you from accepting orders you can’t fulfill.

Assign prices to products

Animated GIF showing how to assign prices to each option in a Choice field and turning on the setting to show prices in the Choice field

  1. In your Choice field settings, locate Choice Options.
  2. Check Assign Prices.
  3. This adds a price field next to each product option.
  4. Enter the price for each product. These will appear in your form’s configured currency.
  5. Optionally, check Show Prices in Choice Field to display each product’s price to customers.

Enable quantity limits

Animated GIF of checking the Limit Quantities option for a Choice field, adding quantities to each option, adding a Number field labeled Quantity to the Repeating Section, going back to the Choice field and checking the box to Specify Quantity, then selecting the Quantity Number field, and writing a custom Quantity Exceeded error message

  1. In the same Choice Options section, check Limit Quantities.
  2. A quantity field appears next to each product.
  3. Enter the available quantity for each product.
  4. When quantities run out, customers can no longer select that product.
  5. Optional: Add a custom Quantity Exceeded message that displays when a product is out of stock. For example: “Sorry, this item is currently out of stock. Please select another option.”

How to let customers specify custom quantities

If you need customers to specify quantities for each product (like 3 of one item and 5 of another), here’s how to do it:

  1. Add a Number field labeled “Quantity.”
  2. In your Choice field for customers to select their product(s), map the Specify Quantity option to this Number field.

Now, the specified quantity will automatically multiply by the product price. For multiple products each with a different quantity, place your Choice field and Number field inside a Repeating Section or Table so customers can add multiple line items to their order.


Step 3: Connect your payment processor

Enable secure payment collection by connecting your account to your desired payment processor (Stripe, PayPal, or Square). All sensitive payment data is transmitted directly to your payment processor (never stored by Cognito Forms or your website). This ensures PCI compliance and protects both you and your customers.

Animated GIF showing how to turn on the Collect Payment setting for a Choice field in Cognito Forms, select a payment provider, open the Payment settings for the form, and what the Payment block looks like at the bottom of the form

  1. In your Choice field settings (where you assigned prices), check Collect Payment for This Field.
  2. Click on the Payment tab in the top left of your form.
  3. Select your preferred payment processor (Stripe, PayPal, or Square). Follow the prompts to link your account.
  4. A payment section automatically appears at the bottom of your form showing:
    • Order summary with line items
    • Credit card input fields
    • Total amount due

Learn more about secure payment forms

For detailed guidance on payment security, processing fees, managing transactions, and issuing refunds, see our comprehensive guide on securely collecting payments with Cognito Forms.


Step 4: Calculate order totals and taxes

Once your form is connected to your payment account, and you have enabled Collect Payment, your form will automatically calculate the customer’s total. A list of all charges will appear at the bottom of your form, and customers will see exactly what they’ll pay before entering their payment information.

Animated GIF showing how to add custom sales tax to the Payment settings of a form in Cognito Forms and how to use Preview mode to see what the automated total and sales tax calculations look like on the form

Collect sales tax

If you want to add sales tax to your orders, follow these steps:

  1. Under Payment, find Additional fees.
  2. Label it “Sales Tax.”
  3. Add your state or location’s sales tax percentage or static amount.

Learn more about advanced pricing scenarios

For more complex pricing scenarios like discount codes, coupons, processing fee calculations, or tiered pricing, check out our support article on how to create a coupon code and our guide on using calculations.


Step 5: Set up order management

Create an organized Entry View to track and manage incoming orders efficiently. This gives you a clear dashboard where you can see all orders, filter by status, and quickly find the information you need.

Animated GIF showing how to set up a custom Entry View in Cognito Forms. It is named New Orders and filtered to only show orders in the Submitted status. Also shows how to show and hide certain columns of field data in a View

  1. Go to the Entries page for your form.
  2. Click + Create New View and select Grid View.
  3. Name it “All Orders” or “Order Dashboard.”
  4. Click Columns to customize which information displays. Check the columns you want to show on the entry view, and uncheck the columns you don’t want to show.
    • Keep in mind: When opening an individual entry for full details, you will be able to see all fields available according to the Role, Status, or any other conditional logic you’ve set up.
  5. Add Filters to create useful views, like Payment Status = Paid to see completed orders or DateSubmitted is on or after 1 month ago for orders within the last month.

You can create multiple views for different purposes, such as: one for all orders, one for pending orders requiring action, and one for completed orders ready for fulfillment. Each team member can have their own customized views based on their role in the order fulfillment process.

Learn how to manage entries with payments

For detailed information about managing payments, issuing refunds, processing manual payments, and tracking order changes, see our guide on how to manage form entries with payments. You can also learn more about sorting and filtering entries.


Step 6: Share your order form with customers

Make your order form accessible to customers through direct links, QR codes, and website embeds. The more places you share your form, the easier it is for customers to place orders.

Animated GIF of the finished Coffee Order Form simulating a customer selecting products, adding quantities, entering shipping details, viewing the calculated order total, entering payment information, and placing their order

Send a direct link

Screenshot of the Share a Link option on the Publish page in Cognito Forms. A URL is shown with the option to open or copy it.

Screenshot of the Share a Link option on the Publish page in Cognito Forms. A URL is shown with the option to open or copy it.

  1. Go to the Publish page for your form.
  2. Find the section titled Share a link.
  3. Copy the form URL to share directly or paste it into:
    • Social media posts, profile links, and ads
    • Email signatures and newsletters
    • Email marketing campaigns
    • Online directory listings

Screenshot of the Share a QR Code option on the Publish page in Cognito Forms. It shows a QR Code with the Cognito Forms logo in the middle and the option to copy it or download as a PNG or SVG.

Share QR Codes

Screenshot of the Share a QR Code option on the Publish page in Cognito Forms. It shows a QR Code with the Cognito Forms logo in the middle and the option to copy it or download as a PNG or SVG.

  1. From the Publish page, find Share a QR code.
  2. Click the auto-generated QR code to copy it as a PNG, or click one of the Download options.
  3. Place your QR code on printed materials (like business cards, flyers, or receipts) or digitally (like in an email, on social media posts, or in a video).

QR codes make ordering effortless for customers. They scan the code with their phone’s camera and immediately access your order form, no typing required. This is particularly effective for in-person marketing where customers want to place orders on the spot.

Embed in your website

  1. From the Publish page, find Embed in your site.
  2. Copy the embed code you want to use and paste it into your website.
Question icon

Looking for detailed instructions about how to embed your forms?


Real-World Examples

Businesses use order forms in different ways, but most businesses have a similar goal: Streamline sales and service processes while delivering professional customer experiences.

Event tickets

Create event order forms with multiple ticket tiers, each with clear pricing. Allow registrants to specify the number of tickets they want to purchase and pay in full, while Workflow statuses track registrations and Quantity Limits prevent overselling.

Custom printing services

Allow your customers to place orders for custom stationary, apparel, or any other products you offer. Add fields for the customizations you offer (like paper type, font, or color), apply volume discounts automatically with built-in Calculations, and prevent accepting orders beyond production capacity with Quantity Limits.

Physical products and merchandise

Sell physical products and merchandise online, enabling customers to select multiple products. Pricing Calculations handle size variations and Entry Views organize orders by fulfillment status.

Advanced Features to Enhance Your Order Form

Once your online order form is running smoothly, add these powerful capabilities to create even more sophisticated and professional ordering systems that scale with your business:

  • Organize large product catalogs with Lookup fields: If you have an extensive product line or frequently changing inventory, create a master “Product Catalog” form and reference it using Lookup fields on your order form. This approach lets you update product information, pricing, images, and inventory quantities in one place, with changes appearing instantly across all forms that reference your catalog.
  • Give customers a portal to track their orders: Enable Guest Access to create a customer portal where people can log in to view their complete order history, track current orders in real-time, and see status updates as orders move through your process.
  • Auto-generate custom order summaries or invoices: Create professional invoice or order summary PDFs that automatically generate when orders are placed. These documents can be attached to confirmation emails or made available for download, giving customers official records of their purchases.

Start Taking Online Orders Today

Stop juggling scattered spreadsheets, manual invoices, and payment collection emails. With a custom order form through Cognito Forms, your customers get a professional ordering experience while you gain an organized system that handles pricing, payment, and order management.

Whether you’re selling event tickets, custom printing services, or physical products, this approach transforms your ordering process from scattered and manual to streamlined and professional, without expensive e-commerce platforms or custom development.

FAQ