I spoke with Amanda during the live chat support hours with our issue and she told me to post here.
We are having issues with some of our click & pledge transactions. When a user pays with an American Express Credit Card we receive an error message:
"Upsert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, npsp.TDTM_Opportunity: execution of AfterInsert
caused by: System.DmlException: Insert failed. First exception on row 0; first error: STRING_TOO_LONG, Custom Payment Field: data value too large: American Express (max length=15): [npe01__Custom_Payment_Field__c]
The field "npe01__Custom_Payment_Field__c" is a managed field so we are unable to change the length and this error stops opportunities from being made. In NPSP Settings->Donations->Payment Mappings we have the Opportunity Field "C&P Payment Type" to the Payment Field "Custom Payment Field". This error only applies to "American Express" so Visa and MasterCard work fine since they are under the 15 character limit. Is it possible to change the mapping so it says "Credit Card" or "AMEX" instead?
Installed Packages:
Nonprofit Starter Pack Version: 3.99
Click & Pledge PaaS Class Library 5.1703010003
Click & Pledge Payment as a Service 9.1705100003
Click & Pledge Events 5.1705020007
We are having issues with some of our click & pledge transactions. When a user pays with an American Express Credit Card we receive an error message:
"Upsert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, npsp.TDTM_Opportunity: execution of AfterInsert
caused by: System.DmlException: Insert failed. First exception on row 0; first error: STRING_TOO_LONG, Custom Payment Field: data value too large: American Express (max length=15): [npe01__Custom_Payment_Field__c]
The field "npe01__Custom_Payment_Field__c" is a managed field so we are unable to change the length and this error stops opportunities from being made. In NPSP Settings->Donations->Payment Mappings we have the Opportunity Field "C&P Payment Type" to the Payment Field "Custom Payment Field". This error only applies to "American Express" so Visa and MasterCard work fine since they are under the 15 character limit. Is it possible to change the mapping so it says "Credit Card" or "AMEX" instead?
Installed Packages:
Nonprofit Starter Pack Version: 3.99
Click & Pledge PaaS Class Library 5.1703010003
Click & Pledge Payment as a Service 9.1705100003
Click & Pledge Events 5.1705020007
Comment