When commerce tries to initialize a payment it loads the necessary data by calling commerce_payment_method_instance_load(). By allowing modules to alter the outcome of the $payment_method in that function it's possible to store certain sensitive payment provider data outside of the rules action configuration and therefore not having to make this data part of a features export e.g.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drupov created an issue. See original summary.

drupov’s picture