Posted by rszrama on January 23, 2013 at 3:33pm
5 followers
| Project: | Drupal Commerce |
| Version: | 7.x-1.x-dev |
| Component: | Payment |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | low-hanging fruit |
Issue Summary
Specifically, by adding a select list for available payment methods and putting an action on the Rule to enable the specified payment method.
Comments
#1
Attached is a patch that requires a user to select at least one payment method to enable and allows them to select more than one. Very proud of this one :) Thanks to Ryan for walking me through some of the more complicated bits.
#2
#3
Needed some cleanup for the checklist to make sense.
#4
The last submitted patch, enablepaymentactions-1896690-3.patch, failed testing.
#5
MySQL wasn't available in the last test, thus the errors.
#6
#3: enablepaymentactions-1896690-3.patch queued for re-testing.
#7
Hi
I've tested the patch and it's working as expected. When I create a new payment rule, I can select every payment method I need and when I submit the form, all the selected payments are put in the "action" section, ready to be enabled.
Thx Josh for the patch.
#8
Tweaked this to only support enabling one payment method per rule due to the limitations of the current system.
Commit: http://drupalcode.org/project/commerce.git/commitdiff/b17da63
#9
Automatically closed -- issue fixed for 2 weeks with no activity.