Payment::availablePaymentMethods() only validates payments against enabled payment methods, but this check should be in PaymentMethodController::validate(), which is where it belongs conceptually and because it's more foolproof.

CommentFileSizeAuthor
#1 payment_1838832_00.patch3.01 KBxano

Comments

xano’s picture

Assigned: Unassigned » xano
Status: Active » Needs review
StatusFileSize
new3.01 KB

With test.

xano’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

xano’s picture

Assigned: xano » Unassigned