Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

eox-paygate

Payment processor for openedx-zeitlabs-payments (contract v1).

Installation

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.

Configuration

PAYGATE_SETTINGS is read from the site configuration first and from the Django settings otherwise:

PAYGATE_SETTINGS = {}

URLs

zeitlabs mounts the views of the processor by its slug:

  • payment/v1/processor/paygate/return/
  • payment/v1/processor/paygate/status/

Pending

  • PaygateProcessor.get_transaction_parameters and PaygateProcessor.reconcile_payment.
  • PaygateStatusView: get_order_cart_reference, get_order_status, get_payment_status, verify_success_response and get_transaction_details.
  • GATEWAY_ORDER_ID_PARAM and the template eox_paygate/payment.html.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages