You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -448,7 +470,7 @@ public static function prepareParams($data, $params)
448
470
}
449
471
450
472
// Handle a param not being included in the data
451
-
if (!isset($data[$param])) {
473
+
if (!isset($data[$param]) || $data[$param] === '') {
452
474
$return[$param] = null;
453
475
continue;
454
476
}
@@ -793,6 +815,7 @@ public function dp_savegift($data)
793
815
'currency' => ['string', 3], // If you use the multi-currency feature, enter appropriate code value per your currency field – e.g; 'USD', 'CAD', etc.
794
816
'receipt_delivery_g' => ['string', 1], // This field sets receipt delivery preference for the specified gift. Supply one of the following single letter code values: • N = do not acknowledge • E = email • B = email and letter • L = letter
795
817
'acknowledgepref' => ['string', 3], // Used in Canadian DonorPerfect systems to indicate official receipt acknowledgement preference code: • 1AR – Acknowledge/Receipt • 2AD – Acknowledge / Do Not Receipt • 3DD – Do Not Acknowledge / Do Not Receipt
818
+
'rcpt_type' => ['string', 1], // C for consolidated or I for individual or NULL for unset
796
819
]));
797
820
}
798
821
@@ -924,7 +947,7 @@ public function dp_saveaddress($data)
924
947
'mobile_phone' => ['string', 40], //
925
948
'address3' => ['string', 100], //
926
949
'address4' => ['string', 100], //
927
-
'ukcountry' => ['string', 100], //
950
+
'ukcounty' => ['string', 100], //
928
951
'org_rec' => ['string', 1], // Enter 'Y' to check the Org Rec field (indicating an organizational record) or 'N' to leave it unchecked to indicate an individual record.
929
952
]));
930
953
}
@@ -966,12 +989,17 @@ public function dp_savecode($data)
'field_name' => ['string', 20], // Enter the name of an existing field type from the DPCODES table
968
991
'code' => ['string', 30], // Enter the new CODE value
969
-
'description' => ['string',100], // Enter the description value that will appear in drop-down selection values
992
+
'description' => ['string',100], // Enter the description value that will appear in drop-down selection values
970
993
'original_code' => ['string', 20], // Enter NULL unless you are updating an existing code. In that case, set this field to the current (before update) value of the CODE
971
994
'code_date' => ['date'], // Enter NULL
972
995
'mcat_hi' => ['money'], // Enter NULL
973
996
'mcat_lo' => ['money'], // Enter NULL
974
997
'mcat_gl' => ['string', 1], // Enter NULL
998
+
'reciprocal' => null,
999
+
'mailed' => null,
1000
+
'printing' => null,
1001
+
'other' => null,
1002
+
'goal' => null,
975
1003
'acct_num' => ['string', 30], // Enter NULL
976
1004
'campaign' => ['string', 30], // Enter NULL
977
1005
'solicit_code' => ['string', 30], // Enter NULL
@@ -1063,7 +1091,7 @@ public function mergemultivalues($data)
'matchingid' => ['numeric'], // Specify the desired donor_id
1065
1093
'fieldname' => ['string', 20], // Enter the name of the checkbox field name.
1066
-
'valuestring' => ['string', 20], // Enter any CODE values to be set. Separate with commas. Any code values not specified will be unset (unchecked).
1094
+
'valuestring' => ['string', 7000], // Enter any CODE values to be set. Separate with commas (max 20 chars per code). Any code values not specified will be unset (unchecked).
1067
1095
'debug' => ['numeric'], // Specification of this field is optional but if you want to return the list of checkbox fields and the values in them after running this command then add debug=1 as a parameter to this API call. If a code was previously set but was not specified in your mergemultivalues API call then it will show as a DeletedCode value. If a value was not previously set but was specified in your API call, then it will show as an InsertedCode.
0 commit comments