Would it be possible to create a separate helper to retrieve the /paymentMethods request information so that the code already in place can be easily reused.
To give a little more information about the context, the \Adyen\Payment\Helper\PaymentMethods class allows to load the information from a Quote or in my case I also want to load the methods from an Order.
The goal is to create a new helper that will execute the /paymentMethods request.
Hi,
Would it be possible to create a separate helper to retrieve the
/paymentMethods
request information so that the code already in place can be easily reused.To give a little more information about the context, the
\Adyen\Payment\Helper\PaymentMethods
class allows to load the information from a Quote or in my case I also want to load the methods from an Order.The goal is to create a new helper that will execute the
/paymentMethods
request.