Files
openfoodnetwork/app/models
Matt-Yorkley 0fc4b851f2 Refactor payment gateway redirects handling
The checkout was holding a lot of responsibility for knowing which kinds of payment gateways are available and how to initiate the process of redirecting to the external payment page (if needed). This was being hidden somewhat by the way the logic was tucked away in services.

PaymentMethod objects now know whether or not they require an external payment process, and know how that process should be started and how to build the required URL.

So we can now *ask* any payment method if it requires external payment processing or not, and *tell* it to start the process and return the relevant URL (if needed).
2021-12-15 21:20:58 +00:00
..
2021-09-08 14:28:31 +01:00
2021-10-25 21:28:28 -05:00
2021-09-08 14:28:31 +01:00
2012-03-27 10:10:26 +11:00
2021-12-10 18:18:20 +00:00
2021-12-10 18:18:20 +00:00
2021-10-25 21:28:28 -05:00