Payment API Errors

I am having an issue processing payments in a plugin I am developing. They are being sent to the transaction list as "Not processed." I am trying to use /checkout/transactions to charge the transactions, but this is what I'm getting back:

 [{"message":"Transaction is required.","error_name":"ChargeTransactionNullArgument","error_code":14,"raw_message":"Transaction is required."}]

This is what the body I am sending looks like:

{"authorization_token":<transaction token>,"amount":"25.00"}

Answers

  • @Tabytha Rourke: I am also facing same issue.

    Are you able to resolve this?

  • Mina Mistry
    Mina Mistry Blackbaud Employee
    Seventh Anniversary Kudos 2 Name Dropper Participant

    Hi @Nidi Shah

    Please review this section on how to charge a transaction using Blackbaud checkout and let me know if this answers your question

    Standard workflow - SKY API


    Please also be aware that we just released a new version of checkout (following a similar implementation path). If you are building a new integration, I highly recommend using the latest version that includes more payment methods and a more customizable user experience.

    New checkout - SKY API

    Thanks

    Mina

  • @Mina Mistry : I am already doing that:

    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."

    }

    i got token also from checkoutComplete event.

    Please help me with this.

Categories