You are here

function commerce_robokassa_pm_load in Commerce robokassa 7.2

Payment method loader.

Load payment method with settings from url arg to support multiple payment method instance if need.

Parameters

string $instance_id: Variable part of payment method instance.

Return value

bool Payment method instance.

File

./commerce_robokassa.module, line 64
Drupal Commerce Robokassa payment method.

Code

function commerce_robokassa_pm_load($instance_id) {
  $instance_id = 'commerce_robokassa|commerce_payment_' . $instance_id;
  return commerce_payment_method_instance_load($instance_id);
}