State Field - Abbreviations vs Spelled in Full
Hello, I noticed something today while working with the Payment's API checkout transaction function. The documentation shows that the state name is returned as an abbreviation. Example: SC

However, when I log the responses that I'm actually getting, the state name is spelled in full. Example: “Alaska”

Is there a setting somewhere that can force a response of the abbreviated state name? Thanks!
Comments
-
Hi Lauren
Can you please share an example of the actual response code you get back from the API (any sensitive data should be redacted)? We only expect to see a two letter state returned from Blackbaud Checkout.
Thanks
Mina
0 -
Hello @Mina Mistry, sure - here is the response from a test transaction - not a live transaction. I removed the email and the ip address.
{
"additional_fee":0,
"amount":2000,
"application":"Payments API",
"billing_info":{
"city":"Little Rock",
"country":"United States",
"post_code":"72212",
"state":"Alaska",
"street":"12346"
},
"comment":"",
"credit_card":{
"card_type":"Visa",
"exp_month":12,
"exp_year":2030,
"last_four":"4242",
"name":"Lauren WHi"
},
"currency":"USD",
"disbursement_status":"NotDisbursable",
"donor_ip_address":"removed",
"email_address":"removed",
"fraud_result":{
"anonymous_proxy_result":"NotProcessed",
"bin_and_ip_country_result":"NotProcessed",
"high_risk_country_result":"NotProcessed",
"result_code":"NotProcessed",
"risk_score":0,
"risk_threshold":0,
"velocity_result":"NotProcessed"
},
"id":"b5f61829-bf73-489a-bf3e-04b88f4e1f15",
"is_live":false,
"phone_number":"",
"state":"Processed",
"token":"bd97faed-8044-4d44-a574-6b85ba769798",
"transaction_date":"8/15/2022 1:59:17 PM",
"transaction_type":"CardNotPresent",
"authorization_code":"123456"
}0 -

@Mina Mistry here's an example screenshot using the documentation developer tool to test as well, in case that is helpful at all.
0 -
@Mina Mistry oh interestingly enough, I noticed the country name is also being spelled out in full.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 400 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 34 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 790 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
