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.
Short name
payment_context
Supporting organizations
funded the development of this module.