I've been working on trying to create a gift form that doesn't live on a BBIS page. For now, I'm testing this on my BBIS Server but in a normal HTML file and I have it mostly working.
The example on the BB web site is pretty awful, and uses AngularJS which is a pretty worthless example at this point. It also isn't even remotely "complete" as there's no code in the example for actually submitting and completing a donation.
I feel like I'm pretty close to making this work I think.
https://give.unc.edu/custom/home/donate.html?p=unre&f=000001&a=15.00
This form is in test mode so you can go all the way through it.
Basically, it successfully validates the donation, but then fails to call /WebApi/Payment/Create with a 401 error "Unauthorized"
Now when I use my regular donation form the URL for that c all is exactly the same, and basically the payload is the same as well.
The ADF API Technical Reference doesn't mention the Payment/Create end point (or any Payment/* endpoint, really), so I don't know what the 401 error means.
Just not sure what I'm missing here.