$pp_name = md5(microtime());
$api_params = array(
'domain_id' => 1,
- 'payment_processor_type_id' => 10,
+ 'payment_processor_type_id' => 'Dummy',
'name' => $pp_name,
'user_name' => $pp_name,
'class_name' => 'Payment_Dummy',
$this->_processorParams = array(
'domain_id' => 1,
'name' => 'Dummy',
- 'payment_processor_type_id' => 10,
+ 'payment_processor_type_id' => CRM_Core_PseudoConstant::getKey('CRM_Financial_BAO_PaymentProcessor', 'payment_processor_type_id', 'Dummy'),
'financial_account_id' => 12,
'is_active' => 1,
'user_name' => '',
$paymentProceParams = array(
'domain_id' => 1,
'name' => 'dummy' . substr(sha1(rand()), 0, 7),
- 'payment_processor_type_id' => 10,
+ 'payment_processor_type_id' => CRM_Core_PseudoConstant::getKey('CRM_Financial_BAO_PaymentProcessor', 'payment_processor_type_id', 'Dummy'),
'financial_account_id' => 12,
'is_active' => 1,
'is_default' => 1,