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.

Comments

tuutti created an issue. See original summary.

tuutti’s picture

Status: Active » Needs review
StatusFileSize
new11.78 KB

Status: Needs review » Needs work

The last submitted patch, 2:  2821345-support-multiple-instances-2.patch, failed testing.

The last submitted patch, 2:  2821345-support-multiple-instances-2.patch, failed testing.

tuutti’s picture

Status: Needs work » Needs review
StatusFileSize
new11.78 KB

Something weird happened to patch name.

  • tuutti committed a41e4a7 on 7.x-1.x
    Issue #2821345 by tuutti: Support multiple payment instances
    
tuutti’s picture

Status: Needs review » Fixed
tuutti’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.