'token' => 'token',
'payer_status' => 'payerstatus',
'payer_id' => 'payerid',
- 'first_name' => 'firstname',
- 'middle_name' => 'middlename',
- 'last_name' => 'lastname',
+ 'billing_first_name' => 'firstname',
+ 'billing_middle_name' => 'middlename',
+ 'billing_last_name' => 'lastname',
'street_address' => 'shiptostreet',
'supplemental_address_1' => 'shiptostreet2',
'city' => 'shiptocity',
't3' => ucfirst(substr($params['frequency_unit'], 0, 1)),
'src' => 1,
'sra' => 1,
- 'srt' => CRM_Utils_Array::value('installments', $params),
+ 'srt' => $params['installments'] ?? NULL,
'no_note' => 1,
'modify' => 0,
];