Closed mwillmott closed 7 years ago
An overview of the Givey API and how it could work with the above (from @marcqualie – CTO):
With the release at https://github.com/mwillmott/techbikers/releases/tag/release-2015-08-18-23-577, we have now got the fundraising system up and running. Users can provide their Just Giving credentials and we will create fundraising pages with all the required details. There are certainly improvements that can be made, especially around error handling/reporting. Currently, if anything goes wrong in this process the page will just hang and not show the user anything useful, even if it's something simple like their JS credentials are wrong.
Next steps are to pull fundraising info into our site and display it on the ride/user pages.
Hey @mwillmott, just saw this thread. Based on your last message, does that mean you will not be integrating with the Givey API?
@marcqualie not this time i'm afraid. We looked at trying to get it to work but the Givey API just didn't quite fit our needs right now and we needed to get this done quickly. We'll be using Just Giving for at least this ride but we're very happy to switch across to Givey for the future. Might be worth you keeping an eye on this thread/repo so you know what our requirements are and seeing if it fits in with any of your plans over at Givey.
Putting together a quick leaderboard for a ride should be pretty easy using this API: https://api.justgiving.com/docs/resources/v1/Leaderboard/GetEventLeaderboard
Heya, if you have any questions about JustGiving API let me know :)
I certainly do @pawelsawicz! I've been working on moving this integration over to your brand new OAuth implementation (rather than asking for credentials which seems to be buggy and is causing us issues). I can't for the life of me figure out how to get ahold of our secret key though.
@mwillmott ah yes I sent you email about secret key.
@pawelsawicz nothing received yet. Can you send to mwillmott [at] gmail.com
We need to integrate a donation platform with the Techbikers site to allow our riders to fundraise for any given ride and allow us to track fundraising. The idea of integration is that we want to minimise the amount of form filling and setup on other sites as well as being able to display fundraising info on our site. Last year we used Believe.in but they have since shut down.
We are currently looking at integrating with
Givey (givey.com)Just Giving. There are several key areas i see that we can integrate. We are pressed for time so they don't all need to be done and we should figure out what can be done quickly and what should be done first.Add a field(s) to the rider model so we know if and the details of their fundraising profile on Givey. This is likely to just be the Givey UID.We have added the fundraiser model (see dae95df1014514837e6bba62c569b365e5f03431) which links the user and ride to a fundraising page on JGEither users go and manually create their accounts and we enter their Givey UID into the system so we can link through or we create their accounts through the Givey API. This should be pretty easy._We have replaced the donationpage field in the rider model and now fetch the JG page from the fundraising recordUnlike Virgin Giving, Givey doesn't have the concept of events. You can donate against a bit of content though – i'd suggest we use the ride page url for this so we can track donations against the ride.JG have events so all fundraising pages are created against an event which matches the ride.The last points i'm not sure how much caching and storing of fundraising info on our side we want to do. Let's not pre-emptively optimise though – i'm happy to hammer the API each time for now ;)
The most important thing is getting the riders donation setup so they can start to fundraise.