Supplier setup
Connect WTTB and choose how supplier jobs are fulfilled
Connect separate test and live accounts, import configurable products, set margins and review fulfilment.
Guide source reviewed for PressFlow 2.3.4.
Connect a sandbox account
- Enable WTTB connector in PressFlow settings → Features & integrations.
- Open PressFlow → Print suppliers → WTTB. In WTTB’s sandbox store, open My Account → WTTB_Connected → API Settings and generate a token. Keep the token and secret available for the next step.
- In the PressFlow Sandbox section, enter the API token and secret. Save, then choose Test Sandbox connection. This test reads the product catalogue.
- Use a test WooCommerce site for end-to-end testing. Select Allow sandbox order submissions there when ready to send a reviewed test job.
The account login opens WTTB’s dashboard. Its API settings provide the separate token and secret for PressFlow. Credentials are encrypted with the site’s WordPress salts. Production has its own token and secret and starts with submission disabled.
Understand the sandbox
WTTB confirmed the following behaviour during connector testing:
- The
flyers-essentialSKU is correct, but that product has a fault on their demo store and can return 404 in both the API and the browser. Use the working custom flyer product recommended by WTTB for sandbox testing. Do not silently change a production product’s SKU to work around a sandbox catalogue fault. - Sandbox confirmation emails are not fully configured. An artwork-upload reminder or an unresolved order placeholder does not by itself mean PressFlow omitted a file. Check the matching order and artwork records in the supplier portal before taking further action.
- The sandbox is disconnected from WTTB’s studio and production systems. A successful sandbox order/artwork receipt verifies that handoff, not downstream manufacturing or studio processing.
Use the correct Production connection and perform a separately authorised first live-job check before relying on production fulfilment. Never resubmit an order or upload a duplicate merely to satisfy a generic sandbox email reminder.
Map a product
Browse the WTTB catalogue in PressFlow. Open the supplier product to find the SKU and its supplier option IDs. Create or select a simple fixed-size PressFlow product and set up its retail pricing and quantity choices. Open WTTB supplier mapping on its WooCommerce edit screen. Enter the supplier SKU and map the options.
Choose Create a priced draft in the WTTB catalogue. Tick the materials, orientations, printed sides and other supplier options you want customers to choose within one product. All listed options are initially selected. Keep one value ticked when an option should remain fixed. Set quantities, retail mark-ups and the PDF artwork slot, then choose Create draft and check prices. Leave the slot as auto for a product with one supplier print-area attribute. PressFlow maps that attribute’s selected print area, such as simplex_1 for single-sided or duplex_1 for double-sided work. A double-sided job supplies one PDF containing both pages. Products with multiple print areas, such as separate cover and inner files, need explicit manual mapping.
PressFlow creates one WooCommerce draft and checks the complete-job net cost for every selected specification and quantity in the background. Follow progress on the product’s WTTB mapping page. Ordering stays disabled until valid prices are ready. A combination rejected with HTTP 400 or 422 is skipped and recorded under Skipped combinations; only successfully priced combinations become available. Authentication, connection and server failures pause the import instead of removing potentially valid options. Correct the connection and use Resume price checks to continue from the saved position.
The importer supports up to 30 quantity presets, 10,000 specifications and 300,000 quantity prices per product. Combinations are checked individually; large ranges take longer to import but use the local indexed price table on the shop. The finished product remains a draft with Standard supplier delivery. Review pricing, tax treatment, artwork sizes, page counts and supplier artwork-slot requirements before publishing. Explicit single-PDF slots remain fixed; use manual mapping for products requiring separate cover, inner-page or other print-area files. Recognised supplier size and simplex/duplex values populate native artwork size/page mappings. Unrecognised requirements still need staff setup. Existing products with a fixed artwork slot are not silently remapped; review their mapping when adding selectable printed sides. Existing orders retain the artwork slots captured at checkout.
Here is the format for one PDF and a size choice. Replace the example values with the IDs from your WTTB product and your own PressFlow field IDs.
{
"fixed": {
"printedSides": "supplier-sidedness-id"
},
"choices": {
"size": {
"field": "size",
"values": {
"a5": "supplier-a5-id",
"a6": "supplier-a6-id"
}
}
},
"artwork": {
"simplex_1": ""
},
"delivery": "Standard"
}- Copy count comes from the purchased PressFlow job. Each line sends one design version.
- Set all supplier-required options. Set values in
fixedwhen they apply to every order. Map the selectable values inchoiceswhen they differ by customer choice. - Map each PDF slot to the exact upload label used in PressFlow. For a two-file product, confirm the supplier’s slot names and use the actual labels for cover and inner pages. A blank label accepts the single uploaded PDF.
- If slots depend on a customer option, add
artwork_choiceswith afieldandvaluesobject. Map every local option ID to its complete artwork slot map, for example{"field":"printed-sides","values":{"front":{"simplex_1":""},"both":{"duplex_1":""}}}. Use your actual local field and option IDs. The selected map is saved with each purchased job. - The selected delivery name is sent to WTTB. WooCommerce continues to calculate the customer’s checkout shipping and taxes.
- Save the mapping again after editing print setup. The purchased configuration is stored with each print job. Review separate mappings for sandbox and production as supplier IDs may differ.
For an existing product, keep your retail prices or apply mark-ups to checked supplier costs below.
Set retail mark-ups
Use Check a WTTB price to check a specification for a destination. Verify the full-run print cost excluding supplier VAT and delivery against your account. The API price response is shown for review and does not populate your retail table automatically.
On the mapped product, open Set WTTB retail mark-ups. Enter your percentage and fixed addition and choose Refresh live WTTB prices. PressFlow checks the quantities and specifications already in that product’s verified price table in small background requests. Use Check refresh progress to see the result. Existing shop prices remain available until all checks finish successfully. A supplier error or a change to the product setup stops the refresh and preserves those prices. Restart a manual refresh after correcting the issue, or use the automatic schedule below.
Schedule supplier price checks
- Complete a successful import or manual price refresh, with the mark-ups you want to retain.
- On that product’s WTTB page, open Automatic price checks under Set WTTB retail mark-ups.
- Choose Every 6 hours, Every 12 hours, Daily or Weekly, then Save price schedule. The default is Off.
- Use Run scheduled price check now to queue the same background workflow immediately. Follow the saved last-success and next-check times. For production products, first run a manual refresh with a complete destination; scheduled checks reuse that saved destination.
Each refresh checks only the product’s existing verified specifications and quantities and applies its current saved percentage and fixed mark-ups. It does not discover a changed supplier range or change existing purchased jobs. Prices are stored locally, so customer selections do not wait for supplier requests. A running manual check is allowed to finish before a scheduled refresh begins.
Temporary failures retain the previous verified table and retry after 15 minutes, then 30 minutes, one hour and increasing delays up to six hours. A successful refresh resets the retry delay. The product page shows the last error or waiting message. Switching the schedule Off stops future scheduled runs and prevents an unfinished scheduled run from replacing shop prices. Changing the environment, account, feature availability or licence pauses supplier calls; checks resume against their original account when available. Product setup or mapping changes still need review.
For an independently checked cost table, expand Use checked costs from a CSV. Paste one CSV row per available specification and quantity. For a product with a size field, a sample table is:
copies,net_cost,size
250,25.00,a5
500,35.00,a5Set a percentage mark-up and a fixed addition per job, or enter zero for either. For example, a £25 print run with a 30% mark-up and £2 fixed addition has a net base selling price of £34.50. The API source is the account’s salePrice.total.net, using its currency and fractional precision. This is the complete print run; it is not multiplied by copies again. PressFlow stores selling prices locally in its normal price tables and uses WooCommerce tax settings. Existing product add-ons still apply. Customer configuration does not require a live supplier pricing request for each selection.
Check and submit an order
- Place an order for the mapped product and open it in Production & artwork. Complete the shop’s payment or company approval, artwork review and customer proof approval.
- In WTTB fulfilment, choose Fulfil in-house to keep the job with your team, or Review for WTTB to check the supplier specification, quantity and PDF slots. For sandbox jobs, use synthetic artwork. PressFlow supplies built-in test addresses. For production, review the WooCommerce addresses and enter any building number or name that requires manual input.
- Select Validate with WTTB and review the returned supplier cost. WTTB can fetch the uploaded, reviewed PDFs from expiring links to the exact files. The proof records approval, while the uploaded print PDFs supply the production files.
- Confirm the supplier total and submit. PressFlow revalidates the same specification and cost before submitting. Production orders use your WTTB credit account. Check that WTTB has enabled it before switching to production.
- Use Refresh WTTB status to check the supplier’s order and payment states, plus shipment information when supplied. For example, WTTB’s
processing-artworkappears as Processing artwork andCreditOwedas On WTTB credit account. Enable automatic order updates below to keep these records current in the background. If the result of an attempt is unclear, use Find WTTB order or enter the known supplier order number to reconcile the existing job. PressFlow retains the original attempt and prevents a blind duplicate submission.
Automatic order updates
In Print suppliers → WTTB → Automatic order updates, an administrator can choose Every 15 minutes, Every 30 minutes or Hourly for the active environment. The default is Off. Sandbox and Production keep separate settings. Enabling enrols existing submitted jobs from the last 180 days in small background batches. New confirmed and reconciled handoffs are enrolled automatically; older jobs retain manual refresh.
The worker reads the already-linked WTTB order, checking its original environment, account, reference and complete product specification. It updates supplier order, payment, shipment and artwork-receipt records. It does not place or cancel a supplier order, resend artwork, change WooCommerce payment/totals, approve a proof or advance the local production stage. Staff portal receipt checks are retained. A confirmed dispatched/delivered supplier status also appears on the matching customer’s print job. It does not complete the WooCommerce order or dispatch the other jobs in that order. Carrier tracking can be added in Delivery & customer when the API does not supply it.
Completed, dispatched or cancelled supplier orders leave the polling queue. Locally cancelled/refunded orders and removed or replaced handoffs also stop tracking. Other jobs stop automatic checks after 180 days, with manual refresh still available. Failed requests keep the last confirmed supplier values and retry with increasing delays up to six hours. Each job shows its last automatic success, next check and any waiting/error message.
Both automations use WooCommerce’s task queue, with WordPress scheduled tasks as a fallback and a bounded recovery scan. Timing depends on the host running scheduled tasks. On quiet or low-traffic shops, ask the host to run WordPress cron from a server schedule, typically every minute. Page caches should continue excluding WordPress admin, cron, AJAX and signed artwork download routes. Enabling a schedule does not enable automatic order submission.
Confirm artwork receipt
The job’s WTTB section shows Artwork recorded by WTTB when the supplier API supplies its documented custom.fields.artworkProvidedDate. Associated artwork-reference counts are shown when returned. Request URLs and an order stage such as Processing artwork do not establish receipt. When the API omits those fields, PressFlow says Artwork receipt not confirmed through the API, even if the files are visible on the supplier portal.
Open the exact WTTB order and check Uploaded Artwork(s) for every mapped PDF and its print area. Staff can then tick the confirmation and choose Record portal artwork check. PressFlow records who checked it, when and the mapped-file fingerprint, and labels it as a portal check rather than an API confirmation. Neither kind of receipt record approves a proof, changes payment, unlocks artwork or releases production.
An explicit rejected request can be archived only after a fresh supplier lookup finds no matching order and staff confirm that result. Archive the attempt before selecting in-house fulfilment or preparing a corrected supplier review. If the lookup cannot establish that no order exists, investigate in WTTB first.
During sandbox testing, the catalogue supplied flyers-essential, with matching full product details, prices and successful validation. Submission of the same SKU returned No published product with an sku ‘flyers-essential’ exists. WTTB’s published documentation instead uses essential-flyers in examples; querying that example SKU in our sandbox returned HTTP 500. WTTB confirmed on 16 November 2026 that flyers-essential is the correct SKU and that this product has a fault on its demo site. They recommend the custom flyer product for sandbox testing while they investigate. Keep the imported SKU unchanged; do not silently substitute a different product.
Keep the WooCommerce order open until WTTB has collected the files. WTTB must be able to reach your site over HTTPS. New artwork links use the signed /wp-json/pressflow/v1/wttb-artwork/{filename} route, ending in the original sanitised PDF filename. The download header also supplies that filename. Allow this route through maintenance access controls and exclude it from page caching. Earlier signed admin-post.php?action=pfw_wttb_artwork links remain supported. Links expire after 20 minutes for validation and 48 hours for submission, and stop working if the artwork or proof changes or production clearance is withdrawn. File names already recorded by WTTB on an earlier order are not renamed by updating PressFlow.
WTTB confirmation emails
WTTB sends its own account confirmations separately from WooCommerce and PressFlow. Its documented order request has no option to change or suppress the artwork reminder in those messages. A generic request to upload artwork does not establish that a transfer failed: check the supplier order’s Uploaded Artwork(s) and Artworks uploaded event. Our named-file sandbox test showed both, despite an artwork reminder being reported by email. The sandbox account’s Notifications page had Transactional Orders, dispatch etc. enabled and locked, with no separate artwork-reminder control. If the reminder still appears after receipt, ask WTTB to make its API-order email conditional on missing artwork. A literal *|ORDERID|* in the message also needs correction in that email template. PressFlow does not generate that placeholder. No supplier notification settings were changed during testing.
WTTB confirmed on 16 November 2026 that sandbox confirmation emails are not fully configured. They also confirmed that the sandbox is not connected to their studio or production systems, to prevent test work entering production. A file visible under Uploaded Artwork(s) confirms sandbox receipt, not live studio processing or fulfilment. Validate the production connection separately before live selling.
Switch to production
Enter the credentials from your production WTTB account and test the connection. Review each production product mapping and run a controlled first order before listing it publicly. Choose the original environment and credentials to refresh any earlier WTTB job.
Automatic fulfilment
Manual review is the default. For eligible jobs you want to send in the background, choose Automatic for selected products in the Production connection and tick the automatic fulfilment checkbox on each product mapping you want to use this workflow. You can also set a maximum WTTB cost per job in pounds. This applies to new orders for those products.
PressFlow queues a job only once it is financially cleared and has checked artwork and a current approved proof. It validates the specification, approved PDFs and delivery details with WTTB before submitting on account credit. If the supplier total exceeds the limit or validation fails, staff can review the job. Choosing Fulfil in-house or Review for WTTB before the background job runs overrides automatic fulfilment for that job. Sandbox submission always uses manual review.
Using printIQ alongside WTTB
A job sent directly to WTTB does not require a printIQ product. An in-house printIQ job uses printIQ’s own product code or a validated bespoke specification. This connector does not create catalogue records in printIQ or send it a duplicate manufacturing order.
Need a hand?
Contact the PressFlow team with details of what you are trying to do.