Form payments
Some things you sell start with a form, such as a gift card order with a delivery choice, or a deposit. With form payments, sending the form makes a WooCommerce order for its total, and the visitor goes straight to the payment page to pay it with your usual payment methods.
- The order lists the form’s products, their options and quantities, at the form’s prices, with the visitor’s name, email, phone and address from the form.
- The amount is the form’s own total, worked out on the site from its prices. It never travels in a link, so it can’t be changed there.
- Once they pay, they get WooCommerce’s receipt and the order shows under WooCommerce → Orders. The form entry shows Paid with the order number, and a note links them both ways.
- An order nobody pays is cancelled after WooCommerce’s Hold stock time, as unpaid checkout orders are (when Manage stock and Hold stock are set under WooCommerce → Settings → Products → Inventory). The entry then shows Cancelled.
Set it up
- Build the form in Gravity Forms with Product fields (and options, quantity or shipping if you need them) and a Total
- Go to WooCommerce → Dirigible Features and select Set up on Form payments
- Tick the form and select Save
- Send the form yourself to see the payment page
The form’s own notifications still go out when it’s sent. Its confirmation is replaced by the payment page.
Give every price its own Product field or option: Gravity Forms checks those prices when the form is sent. A product with a User Defined Price lets visitors type their own amount (the screen says so next to the form), which suits donations but not a fixed price. A Calculation product works out its price from what the visitor picked, so keep its inputs to fixed choices and check the order against the entry for odd amounts.
Asking one customer for a payment
You don’t need a form for that. WooCommerce does it on its own:
- Go to WooCommerce → Orders and select Add order
- Add what they owe, their email and name, and set the status to Pending payment
- Select Create
- Copy the Customer payment page link under the order’s status and send it to them, or choose Send order details to customer under Order actions
They pay on the same payment page, and the order updates as usual.