Accept donations with @raae/gatsby-plugin-donations
Yesterday's unauthorized and rum-fueled treasure hunts in the sharky waters around the Gatsby islands tiny-task was "accept donations."
We did so by adding soon-to-be-officially released plugin: @raae/gatsby-plugin-donations.
The plugin adds a Gatsby Serverless Function you may use to accept pay-what-you-want donations. No ready-made components yet...
I wanted to test out the developer experience myself. Having Ola walk me through the steps in the readme and keep an eye out for areas to improve.
Pretty happy with the results, but some clarification is needed before it's ready for an official release.
We also tackled an issue reported by an early tester:
404 error when using the supplied example code...
Turns out he was using Gatsby version 3.2, and I had somehow put ^3.0.0 as a valid peer dependency when in fact, support for Gatsby Serverless Functions came with version 3.7 🤦♀️
Where was Paul, you might ask? He was living out his dream as an Englishman in New York.
If you decide to test out the new plugin, I would love to hear what you think over in the discussions.
All the best,
PS: This was the last week of Season 2 of Gatsby Deep Dives with Queen Raae and the Nattermob Pirates.
PPS: Next week we'll be back with a new show where I'll support Mirjam as she builds out the new conferencebuddy.io site with Gatsby.