Payment processor for openedx-zeitlabs-payments (contract v1).
Requires openedx-zeitlabs-payments >= 1.0.0 (processor contract v1) installed in the LMS. Install the package
next to it:
pip install eox-paygate
The package registers itself through two entry points, without changes in zeitlabs:
zeitlabs_payments.v1:paygate = eox_paygate.processor:PaygateProcessor.lms.djangoapp: installs the Django app, so the LMS finds its templates.
The processor is hidden in the checkout while PAYGATE_SETTINGS is not configured.
PAYGATE_SETTINGS is read from the site configuration first and from the Django settings otherwise:
PAYGATE_SETTINGS = {}
zeitlabs mounts the views of the processor by its slug:
payment/v1/processor/paygate/return/payment/v1/processor/paygate/status/
PaygateProcessor.get_transaction_parametersandPaygateProcessor.reconcile_payment.PaygateStatusView:get_order_cart_reference,get_order_status,get_payment_status,verify_success_responseandget_transaction_details.GATEWAY_ORDER_ID_PARAMand the templateeox_paygate/payment.html.