Description:
When bidirectional order fulfillment sync is enabled, orders that are made with the delivery method set to "Pickup this order" come through to Square as an order with a "Custom amount x1" item attached instead of the items that were ordered.
Steps to Reproduce:
- Check the "Enable bidirectional order fulfillment sync" checkbox in the WooCommerce Square settings
- Create an order, select "Pickup this order" on the checkout screen and complete the purchase
- Go to the Square dashboard (i.e. app.squareup.com) and open the order in Orders > All Orders > Completed
Expected Behaviour:
The order shows that items that were ordered.
Actual Behaviour:
The order shows a "Custom amount x1" item for the total amount of the order, and no other items.
Additional Context:
- Orders with delivery method set to "Ship this order" work correctly with bidirectional order fulfillment sync enabled.
- When bidirectional order fulfillment sync is disabled, orders with the delivery method set to "Pickup this order" work correctly.
Environment:
WordPress version: 6.9.1
WooCommerce version: 10.5.1
WooCommerce Square plugin version: 5.2.0
PHP version: 8.3
Product Requirements Section
Problem & Expected Outcome
The Problem: When bidirectional order fulfillment sync is enabled, orders placed with "Pickup this order" as the delivery method appear in Square as a single "Custom amount x1" line item for the total, rather than the actual products ordered. "Ship this order" orders are unaffected. Disabling bidirectional sync is the only current workaround.
The Fix: As a store manager, a pickup order synced to Square should show the correct itemized product list — the same as a shipping order does today.
Acceptance Criteria
- Pickup orders synced to Square display the correct line items, not a "Custom amount" placeholder
- Ship orders continue to sync correctly and are unaffected by this change
- Edge/failure state: if item data is missing or malformed for a pickup order, the sync logs the issue rather than silently falling back to a custom amount
Out of Scope
- Changes to how non-bidirectional order sync works (already behaves correctly)
- Other delivery method types beyond Pickup and Ship
Description:
When bidirectional order fulfillment sync is enabled, orders that are made with the delivery method set to "Pickup this order" come through to Square as an order with a "Custom amount x1" item attached instead of the items that were ordered.
Steps to Reproduce:
Expected Behaviour:
The order shows that items that were ordered.
Actual Behaviour:
The order shows a "Custom amount x1" item for the total amount of the order, and no other items.
Additional Context:
Environment:
WordPress version: 6.9.1
WooCommerce version: 10.5.1
WooCommerce Square plugin version: 5.2.0
PHP version: 8.3
Product Requirements Section
Problem & Expected Outcome
The Problem: When bidirectional order fulfillment sync is enabled, orders placed with "Pickup this order" as the delivery method appear in Square as a single "Custom amount x1" line item for the total, rather than the actual products ordered. "Ship this order" orders are unaffected. Disabling bidirectional sync is the only current workaround.
The Fix: As a store manager, a pickup order synced to Square should show the correct itemized product list — the same as a shipping order does today.
Acceptance Criteria
Out of Scope