Skip to content

Commit

Permalink
Merge pull request #7847 from TheMadeleine/docs/payment-component
Browse files Browse the repository at this point in the history
[Documentation][Payment] Outdated states
  • Loading branch information
pjedrzejewski committed Mar 28, 2017
2 parents 91da139 + 0b44af3 commit 1d849e4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/components/Payment/state_machine.rst
Expand Up @@ -11,9 +11,9 @@ The following payment states are available by default:
+------------------+------------+---------------------------------------------------------+
| Related constant | State | Description |
+==================+============+=========================================================+
| STATE_NEW | new | The newly created payment |
| STATE_CART | cart | Initial; Before the subject of payment is completed |
+------------------+------------+---------------------------------------------------------+
| STATE_PENDING | pending | Payment waiting to be processed |
| STATE_NEW | new | After completion of the payment subject |
+------------------+------------+---------------------------------------------------------+
| STATE_PROCESSING | processing | Payment which is in process of verification |
+------------------+------------+---------------------------------------------------------+
Expand All @@ -25,9 +25,12 @@ The following payment states are available by default:
+------------------+------------+---------------------------------------------------------+
| STATE_REFUNDED | refunded | A completed payment which has been refunded |
+------------------+------------+---------------------------------------------------------+
| STATE_UNKNOWN | unknown | Auxiliary state for handling external states |
+------------------+------------+---------------------------------------------------------+

.. note::
All of above states are constant fields in the :ref:`component_payment_model_payment-interface`.

All the above states are constant fields in the :ref:`component_payment_model_payment-interface`.

.. _component_payment_payment-transitions:

Expand Down

0 comments on commit 1d849e4

Please sign in to comment.