commerce_purchase_order.workflows.yml in Commerce Purchase Order 8
File
commerce_purchase_order.workflows.yml
View source
- payment_purchase_order:
- id: payment_purchase_order
- group: commerce_payment
- label: 'Purchase Order'
- states:
- new:
- label: 'New'
- authorized:
- label: 'Authorized'
- completed:
- label: 'Completed'
- paid:
- label: 'Paid'
- partially_refunded:
- label: 'Partially refunded'
- refunded:
- label: 'Refunded'
- voided:
- label: 'Voided'
- transitions:
- authorize:
- label: 'Authorize payment'
- from: [new]
- to: authorized
- complete:
- label: 'Complete Checkout'
- from: [authorized]
- to: completed
- receive:
- label: 'Receive payment'
- from: [completed]
- to: paid
- partially_refund:
- label: 'Partially refund payment'
- from: [completed]
- to: partially_refunded
- refund:
- label: 'Refund payment'
- from: [completed, partially_refunded]
- to: refunded
- void:
- label: 'Void payment'
- from: [completed]
- to: voided