You are here

commerce_authnet.workflows.yml in Commerce Authorize.Net 8

File

commerce_authnet.workflows.yml
View source
  1. payment_acceptjs:
  2. id: payment_acceptjs
  3. group: commerce_payment
  4. label: 'Authorize.net (Accept.js)'
  5. states:
  6. new:
  7. label: 'New'
  8. unauthorized_review:
  9. label: 'Unauthorized (Needs Review)'
  10. unauthorized_declined:
  11. label: 'Unauthorized (Declined)'
  12. authorization:
  13. label: 'Authorization'
  14. authorization_review:
  15. label: 'Authorization (Needs Review)'
  16. authorization_declined:
  17. label: 'Authorization (Declined)'
  18. authorization_expired:
  19. label: 'Authorization (Expired)'
  20. authorization_voided:
  21. label: 'Authorization (Voided)'
  22. completed:
  23. label: 'Completed'
  24. partially_refunded:
  25. label: 'Partially refunded'
  26. refunded:
  27. label: 'Refunded'
  28. transitions:
  29. authorize:
  30. label: 'Authorize payment'
  31. from: [new]
  32. to: authorization
  33. unauthorized_review:
  34. label: 'Needs review (Unauthorized)'
  35. from: [new]
  36. to: unauthorized_review
  37. authorization_review:
  38. label: 'Needs review (Authorized)'
  39. from: [new]
  40. to: authorization_review
  41. approve_unauthorized:
  42. label: 'Approve payment'
  43. from: [unauthorized_review]
  44. to: authorization
  45. decline_unauthorized:
  46. label: 'Decline payment'
  47. from: [new]
  48. to: unauthorized_declined
  49. approve_authorization:
  50. label: 'Approve payment'
  51. from: [authorization_review]
  52. to: completed
  53. decline_authorization:
  54. label: 'Decline payment'
  55. from: [authorization_review]
  56. to: authorization_declined
  57. void:
  58. label: 'Void payment'
  59. from: [authorization, authorization_review, unauthorized_review]
  60. to: authorization_voided
  61. expire:
  62. label: 'Expire payment'
  63. from: [authorization]
  64. to: authorization_expired
  65. authorize_capture:
  66. label: 'Authorize and capture payment'
  67. from: [new]
  68. to: completed
  69. capture:
  70. label: 'Capture payment'
  71. from: [authorization]
  72. to: completed
  73. partially_refund:
  74. label: 'Partially refund payment'
  75. from: [completed]
  76. to: partially_refunded
  77. refund:
  78. label: 'Refund payment'
  79. from: [completed, partially_refunded]
  80. to: refunded