Invalid User Agent error on payments/v1/transactions endpoint
I am using this end point to authorize payment to use for recurring gifts. I believe this worked in the past. but now I get this. even tried hard coding a user agent header.
CRM API call failed for uri: https://api.sky.blackbaud.com/payments/v1/transactions
Error: A validation error occurred. Validation error code: <InvalidUserAgent> Validation error message <Invalid User-Agent string.>
Details:
Error Path:
The JSON payload was as follows:
{
"amount": 100,
"authorize_only": true,
"direct_debit_account_token": "e834a929-ea29-4b7e-aff9-164594299e2e",
"payment_configuration_id": "[our config guid]"
}
user agent is set to "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"
All other api calls work fine like
Any thoughts?
Comments
-
Thanks for posting your question. Our team are reviewing this error.
Can you please provide details on the application making this request? Is this payment initiated by a user who is authenticated in your application? Are you processing a recurring payment using a previously saved direct debit account, or is it a different scenario?
Thanks
Mina
0 -
@Mina Mistry Hello Mina. Our application has a payment form. If the direct debit option is selected we use the Blackbaud_OpenDirectDebitForm to collect account info and tokenize it. If the use selects a payment frequency then we use the previously mentioned end point to authorize payment. Then we create a recurring gift record in RENXT. We do a similar process for one time payments but without the additional payment authorization step. We are able to do recurring gifts with credit cards as well. The only thing that doesn't work is the endpoint mentioned above.
0 -
I authorize credit cards for recurring gifts we use
0 -
The only thing that gives us trouble is payments/v1/transactions
0 -
I need a little more information to guide you. To confirm:
- The payment form accepts both one-time and recurring payments with credit card or direct debit.
- For one-time payments, the payment is processed using Blackbaud Checkout.
- For recurring payments
- Do users always make an immediate payment, or is the first payment in the future (or both)?
- Can you share the intention behind using the “authorize_only” workflow?
0 -
@Mina Mistry
The payment form accepts both one-time and recurring payments with credit card or direct debit. - Yes- For one-time payments, the payment is processed using Blackbaud Checkout. - Yes
- For recurring payments
- Do users always make an immediate payment, or is the first payment in the future (or both)? - the latter
- Can you share the intention behind using the “authorize_only” workflow? - for recurring payments we set the start date as tomorrow and let RENXT generate the payments. we use an authorization step to make sure there will not be any problems
0 -
If you are not immediately charging the payment method, the recommendation would be to use Blackbaud Checkout to securely collect the payment details and return back a card token that you can pass into RE NXT. See the StoreCardInfo and StoreDirectDebitInfo functions for Checkout. This will not perform a formal authorization on a credit card but will include some basic validation checks against the card (with a real authorization, cardholders may see a pending payment on their statement).
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 117 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) 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
- 777 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)
