You are here

commerce_paypal.workflows.yml in Commerce PayPal 8

File

commerce_paypal.workflows.yml
View source
  1. payment_paypal_checkout:
  2. id: payment_paypal_checkout
  3. group: commerce_payment
  4. label: 'PayPal Checkout'
  5. states:
  6. new:
  7. label: 'New'
  8. pending:
  9. label: 'Pending'
  10. authorization:
  11. label: 'Authorization'
  12. authorization_voided:
  13. label: 'Authorization (Voided)'
  14. authorization_expired:
  15. label: 'Authorization (Expired)'
  16. completed:
  17. label: 'Completed'
  18. partially_refunded:
  19. label: 'Partially refunded'
  20. refunded:
  21. label: 'Refunded'
  22. transitions:
  23. authorize:
  24. label: 'Authorize payment'
  25. from: [new]
  26. to: authorization
  27. void:
  28. label: 'Void payment'
  29. from: [authorization]
  30. to: authorization_voided
  31. expire:
  32. label: 'Expire payment'
  33. from: [authorization]
  34. to: authorization_expired
  35. authorize_capture:
  36. label: 'Authorize and capture payment'
  37. from: [new]
  38. to: completed
  39. capture:
  40. label: 'Capture payment'
  41. from: [authorization]
  42. to: completed
  43. partially_refund:
  44. label: 'Partially refund payment'
  45. from: [completed]
  46. to: partially_refunded
  47. refund:
  48. label: 'Refund payment'
  49. from: [completed, partially_refunded]
  50. to: refunded