You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a "Production" and a "Development" AdyenHPP payment method configured in the same application, the AdyenRedirectController#payment_method might fail.
It uses Gateway::AdyenHPP.last which just picks up the last configured one. I overrode it to Gateway::AdyenHPP.where(active: true).last to at least try and get one that's active. It might be better to also look at the environment the application is running under and the one that is configured in the PaymentMethod.
If you have a "Production" and a "Development" AdyenHPP payment method configured in the same application, the
AdyenRedirectController#payment_methodmight fail.It uses
Gateway::AdyenHPP.lastwhich just picks up the last configured one. I overrode it toGateway::AdyenHPP.where(active: true).lastto at least try and get one that's active. It might be better to also look at the environment the application is running under and the one that is configured in the PaymentMethod.