Blackbaud checkout create transaction issue
We are integrating with the SKY API Checkout transaction endpoint:
POST https://api.sky.blackbaud.com/payments/v1/checkout/transaction
Request body:
{
"amount": 100,
"authorization_token": "<token>"
}
Response:
{
"error": "ChargeTransactionNullArgument",
"message": "Transaction is required."
}
Could you confirm the expected request structure for this endpoint and whether any additional fields or headers are required?
Answers
-
Hi @Nidi Shah I moved this over to Raiser's Edge NXT API's discussions and I'm going to tag @Erik Leaver to see if he can provide any insight. Thanks!
0 -
@Nidi Shah Correct. Only amt & auth token are required as per the documentation.
you might want to look at some related help videos:0 -
Hi @Erik Leaver : Thank you for your response. I am following steps mentioned in above video.
Please refer more details related to my api work flow.
1)Donor selects amount in donation page.
2)Blackbaud checkout popup open
3)Donor select apple pay payment
4)Donor enter real card details and submit
API calls:
function onDonateNowClicked(sender, args) {// append any donor-entered information to the transaction obejct
var amt = $('#' + '<%= txtamount.ClientID %>').val();
var transactionData = {
'key': '<key>',
'payment_configuration_id': '<payment_configuration_id>',
'amount': amt,
'client_app_name': '<client_app_name>',
'security_token': '<security_token>',
'is_offline': true,
'use_apple_pay': true,
'use_apple_pay_donate_button': true
};
// call the Checkout method to display the payment form
Blackbaud_OpenPaymentForm(transactionData);
args.set_cancel(true); // Cancel default postback}
<script src="https://payments.blackbaud.com/Checkout/bbCheckout.2.0.js"></script>
i got token also from checkoutComplete event.
Next I am calling transaction API
https://api.sky.blackbaud.com/payments/v1/checkout/transactionwith amount and checkoutComplete event token.
At that time api gives error Transaction is required.
Please help me to resolve this with priority.
0 -
@Crystal Bruce @Erik Leaver : I am waiting for further response. Please help me on this asap.
0 -
@Nidi Shah apologies. I've been exceptionally busy this week. @Mina Mistry / @Heather Templeton can you take a look?
0 -
@Mina Mistry @Heather Templeton : Please help me on this with urgent priority.
CC: @Erik Leaver0 -
@Mina Mistry @Heather Templeton : Please help me on this with urgent priority as it blocking development.
CC: @Erik Leaver
0 -
Hi @Erik Leaver
@Mina Mistry @Heather Templeton
: Thank you for your response. I am following steps mentioned in above video.
I am waiting for further response
0 -
Hi @Nidi Shah -
Are you using New Checkout?
Are you using inline or modal? Both sets of instructions have code samples.0 -
We also updated our payments api sample repo:
0 -
@Erik Leaver : I have tried with both way.
For blackbaud checkout i am getting error transaction is require as mention above.
For blackbaud new checkout it seems that sample repo is bit different with API doc.
https://developer.sky.blackbaud.com/api#api=payments&operation=CaptureTransaction
In sample repo:
// Capture the payment
await fetch(${_baseUrl}/checkouttransactions/capture, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
amount: amount,
transaction_token: transactionToken,
card_token: cardToken,
payment_configuration_id: transactionData.payment_configuration_id,
}),
where as in document:Request
https://api.sky.blackbaud.com/payments/v1/transactions/{transaction_id}/captureRequest parameters
NameInRequiredTypeDescription
transaction_idtemplatetruestringThe identifier of the authorized transaction you would like to capture.
So transaction_id is missing in sample repo.
Help me with this.0 -
@Nidi Shah can you confirm you are starting this payment workflow after the initial API authorization token (Oauth flow) and payment configuration ID are already acquired?
0 -
@Erik Leaver :First I open blackbaud checkout form using payment configuration ID.
After that select apple pay payment option, add card details and click on process/payment.
So i get transaction token from checkout complete event.
I use that transaction token and amount and oauth access token to perform Create checkout transaction.reference link:https://developer.blackbaud.com/skyapi/products/bbms/payments/integrations/checkout/process-overview
0
Categories
- All Categories
- 1 Blackbaud Agents for Good™
- Raiser's Edge NXT test
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 403 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.2K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 16 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 661 Blackbaud Grantmaking™
- 583 Blackbaud Education Management Solutions for Higher Education
- 3.3K Blackbaud Education Management Solutions for K-12 Schools
- 947 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.8K Blackbaud Raiser's Edge NXT®
- 3.8K SKY Developer
- 251 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 243 Member Lounge (Just for Fun)
- 37 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Closed) PowerUp Challenge: Grid View Batch
- 3 (Closed) 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
- 804 Community News
- 3K Jobs Board
- 57 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


