----------------------------------------
* CRM-18625: Authorize.net not saving testing URL
https://issues.civicrm.org/jira/browse/CRM-18625
*/
public function updatePaymentProcessor(&$values, $domainID, $test) {
if ($test) {
- foreach (array('user_name', 'password', 'signature', 'url_site', 'url_recur') as $field) {
+ foreach (array('user_name', 'password', 'signature', 'url_site', 'url_recur', 'url_api', 'url_button', 'subject') as $field) {
$values[$field] = empty($values["test_{$field}"]) ? CRM_Utils_Array::value($field, $values) : $values["test_{$field}"];
}
}