Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.09 KB

Developer.md

File metadata and controls

21 lines (11 loc) · 1.09 KB

Developer

Order status:

The order status are following the Managing Orders of Woocommerce. There is only difference in On-Hold status.

When the order is in On-Hold status, it will be monitor the tx-hash by monitor-eth-tx

Widget configs

Widget configs in the plugin are base on the widget configs from its generator and modified to fit Woocommerce model.

screenshot-1

Those configs are define in widget as a payment gateway settings in Woocommerce and define in kyber-settings.php

The main logic of handling payment through widget is defined in class-woo-kyber-payment-gateway.php

The flow of an order

Order created -> Pending payment -> On-hold(payment broadcasted - mornitoring) -> Processing (payment success) or Failed (payment failure)