HomePhabricator

More logic for mustache forms

Description

More logic for mustache forms

protected buildRequiredFields -> public getRequiredFields
Now uses paymentMethod['validation'], with subMethod['validation'] overriding
Use new getAvailableSubmethods method in rendering mustache forms.

TODO: allow turning off methods / submethods per country in LocalSettings
FIXME: so many credit card buttons! and how to tell visa from visa_debit?
FIXME: css annoyance - gap in 2nd row of options

Bug: T97056
Change-Id: Ib675f1adca1fd18adf10bf216927d236335db389

Details

Provenance
EjeggAuthored on
awightCommitted on Jun 1 2015, 6:44 PM
Parents
rEDOI9ed7d3d7c440: Add Astropay to form settings for BR/CC
Branches
Unknown
Tags
Unknown
ChangeId
Ib675f1adca1fd18adf10bf216927d236335db389