RatePay state machines

Edit on GitHub
You are browsing a previous version of the document. The latest version is 202204.0.

We use state machines for handling and managing orders and payments. To integrate RatePAY payments, a state machine for RatePAY should be created.

A basic and fully functional state machine for each payment method is already built:

  • RatepayInvoice01.xml
  • RatepayPrepayment01.xml
  • RatepayElv01.xml
  • RatepayInstallment01.xml

You can use the same state machines or build new ones. The state machine commands and conditions trigger RatePay facade methods calls in order to perform the needed requests to RatePAY.