I created a payment method. I created a payment form that stores payment data, and then I create a payment security token. All this looks fine so far, and payum generates a token in the store.
However, I cannot register it. I don’t know where I should add actions so that they are used when loading the payment method.
I have the following questions.
- Where can I add a link to my PaymentFactory? . I am currently loading the payum extension in the package build method and adding the PaymentFactory instance to the extension. Is that all I need to do?
- I created a Capture and Status action. Where to add these actions to the payment gateway? Do I write them in PaymentFactory? I added a dump and exits to both classes, and when I launch a payment in a browser, it seems to never get into action and does not exit in the place that I installed.
Any help would be appreciated
Thanks in advance:)
source
share