API not correctly processing donations to Raisers Edge

Our company through some developer support has created a custom donation page that is connecting to RE through a Sky API.

I was wondering if you can help clarify the issue we are having with the testing of our donation form.
We tested the end of the one-off donations and it processed fine, however, when we test the regular giving side of the donation form it isn’t processing the transaction.
Our developers have identified the CRM kicked back the below message.

PIF Recurring:

[2020/11/04 01:35:52] CRM processing error.

[Failure] Reason: A request was made to add or update a recurring gift with a post status other than Do Not Post., Data : {"errorcode":25085,"Person.identifier":"88311"}


The only difference we can think about it is that someone changed the settings of the CRM. Because that error is related to creating a gift/receipt for a gift. we changed the logic to avoid creating the receipt last time. Therefore there's a chance that something has been changed in the CRM setting in a way that the CRM is trying to create that receipt anyway.


We tried reviewing the below document but couldn't come up with a solution as we were told the coding for a Recurring Gift may be the problem and ensure it’s including the post_status field with the value of DoNotPost.


https://developer.sky.blackbaud.com/docs/services/58bdd5edd7dcde06046081d6/operations/CreateGift



Our developers then attempted to amend.

'post_status' => 'DoNotPost',



"We have updated the recurring code, Now we are getting an error that account token needs to be provided.

this is the error I'm getting: "error_name":"RecurringGiftInvalidAccountToken","error_code":25086,"raw_message":"A request was made to add a recurring gift without an account token.

Okay so the question is how to properly generate or fetch the account token. Is it something that we need to generate on our end or is it something that we need to fetch from API? "



From here we were told to bring the issue here. Is there any way you can help identify a solution to this issue?


Comments

  • Bryna Gleich
    Bryna Gleich Blackbaud Employee
    Tenth Anniversary Kudos 3 Name Dropper Participant
    The discussion category this was originally posted to is for the "Legacy" ON API. (I'm asking our community manager to rename from "API" to "Legacy ON API to reduce confusion.)


    You might have more luck with the newer SKY API user community at https://community.blackbaud.com/forums/viewcategory/486 which is far more active. (Or she'll move it to this category on your behalf.)
  • Hi


    I have moved this forum post from Higher Ed API Forum to the Sky Developer School API Community in hopes of getting more product specific eyes & replies...


    Thanks for the heads up Bryna Gleich‍!


    In harmony and inclusion,

    Elizabeth

    Blackbaud Community Team

Categories