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.
Patch adds if (!empty($form['panes']['payment']['payment_method']['#options'])) {
. Also removes white space.
Comment | File | Size | Author |
---|---|---|---|
payment-check-empty-1.patch | 8.03 KB | amitaibu |
Comments
Comment #1
univate CreditAttribution: univate commentedI think I understand the reasoning... you only want users to see the error thats causing the actually problem and if you haven't enabled any payment methods that is the first issue you need to fix before worrying about the recurring settings.