I'm trying to build a custom Payment module, but it's very hard to get things to work because there's no real documentation yet. There are a few example extensions, but these are all outdated.
What I got working:
- The user selects the Payment method
- The user can select his bank from a list of dutch banks
- After the user presses 'Place order' the user is redirected to the success page
What I cannot figure out to do:
- Redirect the user to payment provider after 'Place order' is pressed
- I should provide a redirect url to the payment provider where the user is redirected to after payment.
- The ability to fetch the response of the Payment provider and show the success page to the user.
I'm working on this for days now, but I cannot figure out how to do it. Can someone point me in the right direction?