SilverStripe\Omnipay\Extensions\WorldPayResponseExtension
Add specific response overwrites for WorldPay gateway responses.
This allows us to provide a templated response to a WorldPay
payment notification and auto redirect to the current site after
payment.
If you need to accept payments via WorldPay and want to use the
custom payment response page, then you need to enable this extension
in your config.yml:
SilverStripe\Omnipay\Service\PaymentService:
extensions:
- WorldPayResponseExtension
If you would like to overwrite the default template (for example
to use your own styling, WPDISPLAY tags, etc) then add a
"WorldPayCallback.ss" file to the tempaltes directory in your
theme.
Synopsis
Hierarchy
Extends
- SilverStripe\Core\Extension