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.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | commerce-add-hook_commerce_payment_method_instance_load_alter-2843133-01.patch | 1.9 KB | drupov |
|
Comments
Comment #2
drupov CreditAttribution: drupov commentedAdding a patch...