Git Product home page Git Product logo

bbis-advanced-donation-form's People

Contributors

amitgoel32 avatar bbisdeveloper avatar blackbaud-ashishgarg avatar blackbaud-rajatakar avatar blackbaud-shaydenofziger avatar deepanshukathuria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bbis-advanced-donation-form's Issues

DL's versus Form's?

Is there any particular reason why input fields are contained in dl tags versus forms? Users using accessibility software may run into issues, as dl are description lists (definition lists pre-HTML 5).

Unable to consume API endpoints across domain using easyXDM.

Unable to consume API endpoints across domain using easyXDM. Security policies have been placed by Blackbaud to prevent the use of iframes with BBIS pages.
easyXDM loads the consumer and the provider in a hidden iframe conflicting with the security constraint implemented by Blackbaud.

Public endpoints: No need to add options to CountryService or QueryService.

https://BBISdomain/WebApi/Country
https://BBISdomain/WebApi/Country/00cb6cdb-fxxx-44e2-9c73-xxxdf7965d8f/State
https://BBISdomain/WebApi/Query/DAEF6A0D-C8C6-4GE0-925A-84350F2286E3

endpoints conflicting with security policies
https://BBISdomainWebApi/2022/Donation/Create
https://BBISdomain/WebApi/2022/Donation/ValidateDonationRequest
https://BBISdomainWebApi/2022/Donation/Complete

Can you share any working demos where endpoints are consumed from an external site?

Missing elements in Origin node

Hello!
Can anyone share the [XMLObjectData] in object [dbo].[DonationTransactions] of a test donation using the ADF with the Payment 2.0?

I am submitting test transactions but found that some nodes are missing or they are not being populated correctly. See below.
The origin object in the documentation only includes the AppealId, PageId, and PageName properties.

"Origin": {
"AppealId": "C3B20FD8-6A81-451E-BF78-D195E82B4CBF",
"PageId": 784,
"PageName": "Sample Page"
},

Origin node when using the ADF
<Origin> <PageName /> <PageID>868</PageID> <PartID>0</PartID> <PartTypeID>0</PartTypeID> <AppealID>0</AppealID> <TransactionDate>0001-01-01T00:00:00</TransactionDate> <RecordedByUserID>0</RecordedByUserID> <ClientSitesID>0</ClientSitesID> </Origin>

Origin node when using the Donation Form Part in BBIS

<Origin> <PageName>Donation Form page</PageName> <PageID>468</PageID> <PartName>Donation Form - Page Name</PartName> <PartID>1078</PartID> <PartTypeID>45</PartTypeID> <AppealID>3702</AppealID> <PageURL>https://ourdomain/page.aspx?pid=468</PageURL> <AdminPartURL>https://ourdomain/cms/contenthome/id/1078?cid=1078</AdminPartURL> <TransactionDate>2020-12-02T21:08:53.8089736Z</TransactionDate> <RecordedByUserDisplayName>Judith Herrera</RecordedByUserDisplayName> <RecordedByUserName>jherrera</RecordedByUserName> <RecordedByUserID>5</RecordedByUserID> <TransactionVersion>7.2.0.2501</TransactionVersion> <ClientSitesID>1</ClientSitesID> </Origin>

@deofernandes,@ramanmiddha,@nmcginnis7

BBIS-ADF using Payment 2.0 XMLObjectData

Hello,
We are submitting donations to test the ADF +Payment 2.0 implementation. When we compare the ShelbyDonationTran generated with the one created when using a Donation Form part, there are some nodes elements and values missing. See some examples below. Can anyone share the [XMLObjectData] in object [dbo].[DonationTransactions] of a test donation using the ADF with the Payment 2.0?

  1. ID, BackOfficeID >> values are not being inserted
  2. Transaction source node is showing undefined.
  3. AddedByUserID in Origin– userId is not part of the User service response object. Showing null in database now.

ADF + Payment 2.0
<Designations> <DesignationInformation> <ID>0</ID> <Amount>100</Amount> <Description>Sample Fund Description</Description> <BackOfficeID>0</BackOfficeID> <BackOfficeID_Guid>722a9d25-2c49-4f95-be53-93c70d2d57d2</BackOfficeID_Guid> <GivingLevelID>0</GivingLevelID> </DesignationInformation> </Designations>
<RecordedByUserID>0</RecordedByUserID>

<TransactionSource>Undefined</TransactionSource>

Donation Form + Payment 2.0
<Designations> <DesignationInformation> <ID>1140</ID> <Amount>50</Amount> <Description>Sample Fund Description</Description> <BackOfficeID>1879</BackOfficeID> <BackOfficeID_Guid>373a9328-c86f-422d-84e8-0d3fe6e8bb7a</BackOfficeID_Guid> <GivingLevelID>-1</GivingLevelID> </DesignationInformation> </Designations>

<RecordedByUserDisplayName>John Doe</RecordedByUserDisplayName> <RecordedByUserName>jdoe</RecordedByUserName> <RecordedByUserID>14</RecordedByUserID>

<TransactionSource>DonationClassic</TransactionSource>

Unable to get donation object when navigating to Origin from Payment 2.0

If the donation is created from the Donation Form, when users click on the PaymentPart_CartItemLink on the Payment 2.0 part, users are redirected to the origin and allowed to modify donation details.
However, when we create a donation using the ADF, the link is generated (see example)
https://domain/page.aspx?pid=546&soi=48a5f1df-ca5d-4e10-9ee5-e172cc8b6746
Can we use query string soi to get the donation object? I am not seeing any code sample using this parameter.

{ "Donor": { "Address": { "City": "Columbia", "Country": "United States", "PostalCode": "29212", "State": "SC", "StreetAddress": "123 Main St." }, "EmailAddress": "[email protected]", "FirstName": "John", "LastName": "Doe", "Phone": "555-555-5555", "Title": "Mr." }, "Gift": { "Designations": [ { "Amount": 5, "DesignationId": "3439a5c7-9977-4f9c-ba11-fadfb8144d35" } ], "FinderNumber": 0, "SourceCode": "Sample Source Code", "IsAnonymous": false, "PaymentMethod": 1, "Comments": "Gift comments here.", "CreateGiftAidDeclaration": false, "Attributes": [ { "AttributeId": "BD18B3FD-B382-4183-A415-8F84B1E0E411", "Value": "Volunteer;Member;Alumni" }, { "AttributeId": "3607C77D-19DC-4EE0-A0CD-A352762A8EF0", "Value": "1985" } ], "Recurrence": { "DayOfMonth": 26, "DayOfWeek": null, "EndDate": null, "Frequency": 2, "Month": null, "StartDate": "Date(1337227200000-0400)" }, "Tribute": { "Acknowledgee": { "AddressLines": "123 Sunset ln.", "City": "Charleston", "Country": "USA", "Email": "[email protected]", "FirstName": "Jane", "LastName": "Doe", "Phone": "123-123-1234", "PostalCode": "29482", "State": "SC" }, "TributeDefinition": { "Description": "New tribute", "FirstName": "John", "LastName": "Hancock", "Type": "Tribute" }, "TributeId": null } }, "Id": "853f96be-bf08-4828-aefa-326a06e48d31", "Origin": { "AppealId": "C3B20FD8-6A81-451E-BF78-D195E82B4CBF", "PageId": 784, "PageName": "Sample Page" }, "TransactionStatus": 1 }

validateCountry function issue

function validateCountry(country, ctryData) { if (country.toUpperCase() === ctryData.Id.toUpperCase() || country.toUpperCase() === ctryData.Abbreviation.toUpperCase() || country.toUpperCase() === ctryData.Description.toUpperCase()) { return true; } return false; }

I have got error of the following with the code above, can somebody help?
'Cannot read property 'Id' of undefined'

Payment Checkout Example does not work as is

It seems like the Payment Checkout Example is incomplete and does not explain where a lot of stuff is coming from. the part variable is never defined and no mention of what it is supposed to be and getADFEditorContentInformation is referenced but an error is being thrown saying it is not a function. Could there be some clarification on this documentation or updated code, I really would like to use the new payment functionality but there is little to no documentation on it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.