Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
There is no way to change 'add_payment_method' form appearance if the Omise return error
Steps to reproduce
Send form with some wrong data and see the changes after Omise's answer.
Proposed resolution
Add 'has-error' class to the 'add_payment_method' form with error.
Remaining tasks
none
User interface changes
Added class if the form has error
API changes
none
Data model changes
none
Issue fork commerce_omise-3238214
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
boddy CreditAttribution: boddy at DevBranch, Drupal Ukraine Community commentedComment #5
abrammThat looks good. Thank you boddy.