You are here

commerce_purchase_order.workflows.yml in Commerce Purchase Order 8

File

commerce_purchase_order.workflows.yml
View source
  1. payment_purchase_order:
  2. id: payment_purchase_order
  3. group: commerce_payment
  4. label: 'Purchase Order'
  5. states:
  6. new:
  7. label: 'New'
  8. authorized:
  9. label: 'Authorized'
  10. completed:
  11. label: 'Completed'
  12. paid:
  13. label: 'Paid'
  14. partially_refunded:
  15. label: 'Partially refunded'
  16. refunded:
  17. label: 'Refunded'
  18. voided:
  19. label: 'Voided'
  20. transitions:
  21. authorize:
  22. label: 'Authorize payment'
  23. from: [new]
  24. to: authorized
  25. complete:
  26. label: 'Complete Checkout'
  27. from: [authorized]
  28. to: completed
  29. receive:
  30. label: 'Receive payment'
  31. from: [completed]
  32. to: paid
  33. partially_refund:
  34. label: 'Partially refund payment'
  35. from: [completed]
  36. to: partially_refunded
  37. refund:
  38. label: 'Refund payment'
  39. from: [completed, partially_refunded]
  40. to: refunded
  41. void:
  42. label: 'Void payment'
  43. from: [completed]
  44. to: voided