This module defines a common interface between payment contexts that can be used in payment methods. It also provides auto-loading for those contexts so they are available on any payment object.

Payment methods can use the interface to …

  • get values from the payment context (ie. the form surrounding the payment widget)
  • use the redirect-function of the interface to use ajax-aware redirects.

Payment contexts …

  • can provide an as-seemless-as-possible integration of the payment process into the user-flow.
  • get autoloading (nearly) for free.
Supporting organizations: 
funded the development of this module.

Project information

Releases