At the moment "commerce_paytrail|commerce_payment_commerce_paytrail" instance is hardcoded in _commerce_paytrail_get_setting().
There are a few use cases where it would make sense to allow multiple payment instances:
- Allows users to export payment settings using Features.
- Makes possible to group different payment methods (like "Credit cards" and "Finnish banks") when using "Bypass payment selection page" mode.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2821345-support-multiple-instances-5.patch | 11.78 KB | tuutti |
| #2 | 2821345-support-multiple-instances-2.patch | 11.78 KB | tuutti |
Comments
Comment #2
tuutti commentedComment #5
tuutti commentedSomething weird happened to patch name.
Comment #7
tuutti commentedComment #8
tuutti commented