RatePAY - State Machine Commands and Conditions

Commands

ConfirmDelivery

  • Send delivery confirmation data to RatePAY
  • Response:
    • Success: Delivery confirmed
    • Declined: Request format error or delivery confirmation error
  • Plugin: ConfirmDeliveryPlugin

ConfirmPayment

  • Send payment confirmation data to RatePAY
  • Response:
    • Success: Payment confirmed
    • Declined: Request format error or payment confirmation error
  • Plugin: ConfirmPaymentPlugin

CancelPayment

  • Send order items cancellation data to RatePAY
  • Response:
    • Success: Order items canceled successfully
    • Declined: Request format error or order items cancellation error
  • Plugin: CancelPaymentPlugin

RefundPayment

  • Send refund order items data to RatePAY
  • Response:
    • Success: Order items refunded successfully
    • Declined: Request format error or order items refund error
  • Plugin: RefundPaymentPlugin

Conditions

Name Description Plugin

IsRefunded

Checks transaction status for successful order items refund response

IsRefundedPlugin

IsPaymentConfirmed

Checks transaction status for successful order items payment response

IsPaymentConfirmedPlugin

IsDeliveryConfirmed

Checks transaction status for successful order items delivery response

IsDeliveryConfirmedPlugin

IsCancellationConfirmed

Checks transaction status for successful order items cancellation response

IsCancellationConfirmedPlugin