Charge a draft order to a card on file

Charge a Shopify draft order to the customer's saved card from the draft order page, without sending an invoice

Use Charge card on file to charge a Shopify draft order to the customer's saved payment method. Awtomic opens a one-time order with the products, prices, discounts, address, shipping and notes of the draft order. You review the order and place it. Awtomic then charges the card, creates the order and deletes the draft order.

Use it when:

  • A customer orders by phone or email and you build the order as a draft order.
  • A member asks for an extra order that you prepare in Shopify admin.
  • Another app or your team creates draft orders that customers pay with their saved card.

Before you begin

  • The draft order must be Open and must have a customer.
  • The customer must exist in Awtomic. If Awtomic does not know the customer yet, open the customer in Awtomic one time.
  • The customer does not need a saved card. You can add a card on the order page.
  • Awtomic needs permission to read and update draft orders. You approve this one time. See Step 2.

Step 1: Open the action on the draft order

  1. In Shopify admin, go to Orders → Drafts and open the draft order.
  2. Click More actions.
  3. Select Charge card on file.

Awtomic checks the draft order. The check takes a few seconds.

Step 2: Enable draft order permissions (one time)

If Awtomic does not have the draft order permissions, the window shows Enable draft order permissions.

  1. Click Enable permissions. Awtomic opens and Shopify asks you to approve read and write access to draft orders.
  2. Approve the request. Awtomic takes you back to the draft order.
  3. Select Charge card on file again.

If you decline the request, click Request again on the Awtomic page.

Step 3: Read the check result

The window shows one of these results.

The draft order cannot be charged. Correct the problem and try again:

MessageWhat to do
This draft order is completed (or another status). Only open draft orders can be charged.The draft order was already paid or closed. Do not charge it again.
Add a customer to the draft order, then try again.Add the customer in the draft order and save it.
Awtomic does not know this customer yet.Open the customer in Awtomic, then try again.

Review before you continue. You can continue, but read the warning first:

MessageWhat it means
These custom items will not be importedCustom items (items that are not a product in Shopify) are not part of the order. Their amounts are not charged.
The customer has no saved cardYou can add a card on the next page.
The customer's saved card is expired or cannot be chargedYou can add a card on the next page.

When the draft order is ready, click Continue in Awtomic.

Step 4: Review the order in Awtomic

Awtomic opens the one-time order page for the customer. A banner shows From draft order #D… and a link back to the draft order.

The page contains these values from the draft order:

  • Products: each draft order line is one row, with its quantity and its price. Lines of the same product stay separate rows with their own price and properties.
  • Discounts: line discounts, order discounts, automatic discounts and discount codes are applied as fixed amounts, under their original names.
  • Delivery: the shipping address and the shipping rate, with the rate name and price of the draft order.
  • Notes: the draft order note.
  • Attributes: the order and line attributes (custom attributes and line item properties).
  • Currency: the draft order currency.

Membership discounts are not applied, because the draft order prices are the final prices. To give member pricing, click Apply next to Member discounts not applied in the summary.

Read every part of the order. Make the changes you need, select the payment method, then click Create order.

Warnings on the order page

WarningWhat to do
The draft order is … not openMake sure that the draft order was not paid already before you place the order.
These custom items were not importedCustom items are not charged. Add a real product or collect that amount another way.
The draft order is tax exemptAwtomic cannot make the order tax exempt. Shopify calculates the tax from the customer and the products.
These bundles were imported as their component productsA Shopify bundle is added as its component products. The order does not show the bundle.
The draft order is a store pickup at …Select the pickup location.
The draft order uses local deliveryLocal delivery is imported as a shipping rate. Check the delivery method.
These attributes are reserved by Awtomic and were not importedAwtomic uses these attribute keys itself, so it does not copy them.
The discount codes … were applied as fixed discountsThe code is not applied again. Its amount from the draft order is applied under its name.
The draft order has no shipping lineSelect the delivery method, the address and the rate.
The order subtotal does not match the draft orderCompare the lines and discounts with the draft order before you place the order.

What happens after the charge

When the payment succeeds:

  1. Shopify creates the order. Taxes are calculated when the order is created.
  2. Awtomic adds the tag Draft order: #D… and the draft order tags to the order.
  3. Awtomic copies the draft order metafields to the order.
  4. Awtomic deletes the draft order, so nobody can send an invoice for it or charge it again.

If the payment fails, Awtomic does not create the order and keeps the draft order. You can try again with another payment method.

Troubleshooting

IssueWhat to check
Charge card on file is not in More actionsMake sure that Awtomic is installed and up to date. If the action is still missing, contact Awtomic support.
The window shows "An error occurred"Click Retry. If the error continues, contact Awtomic support with the draft order number.
The order page says "Awtomic needs permission to read and update draft orders"Go back to the draft order and do Step 2. Then reload the page.
The order page says "The draft order does not exist or was deleted"The draft order was already charged or deleted. Look for the order with the tag Draft order: #D….
The order page says "The draft order belongs to another customer"The customer on the draft order changed. Open the action again from the draft order.
The draft order is still there after the chargeMake sure that the order exists in Shopify. If it does, delete the draft order by hand so nobody charges it again, and contact Awtomic support.
Shopify temporarily blocked this chargeSee Card on file: when Shopify temporarily blocks a charge.

Did this page help you?