Custom Action
Gateway comes with built in actions but sometime you have to add your own. First you have to define a service:
There are several ways to add it to a gateway:
Set it explicitly in config.yml.
Tag it
More powerful method is to add a tag
payum.action
to action server. Payum will do the reset. You can define afactory
attribute inside that tag. In this case the action will be added to all gateways created by requested factory.If
prepend
set to true the action is added before the rest. If you want to add the action to all configured gateways setall
to true.
Supporting Payum
Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider:
Last updated