Disclaimer: This project is not entirely new. I used the time during this hackathon to improve an existing open-source project. However, a bunq employee (whose name I can’t recall) suggested submitting the project anyway.
Inspiration
I started this project back in 2020 at the request of a client. After we successfully implemented it, we decided to open-source it. I have been contributing and updating the plugin ever since.
What it does
This plugin allows you to accept payments (iDEAL, Bancontact, credit card) in your WooCommerce webshop using just your bunq account — no need for payment service providers and their fees!
How I built it
This project already existed, but here’s what I did during this hackathon:
- Updated the PHP SDK to
v1.28.0. - Added support for a direct gateway, allowing customers to select a payment method directly from the checkout page instead of the bunq.me page.
Changelog: https://github.com/patrickkivits/bunq-for-woocommerce/compare/v1.4.7...v1.5.4
Challenges I ran into
- Adding the payment method input field to the checkout required implementing custom React elements, which was not well documented. It took a lot of research (and ChatGPT prompting) to figure out how to make it work.
Accomplishments I’m proud of
- Adding support for the direct gateway was a significant step toward making the plugin more mature and providing a payment service provider-like experience.
What I learned
- Adding custom input fields to WooCommerce payment gateways is more complex than I initially thought, but with perseverance and research, it eventually came together.
What’s next for bunq for WooCommerce
If you have any suggestions or want to contribute, feel free to reach out via GitHub.
Built With
- bunq
- woocommerce
- wordpress
Log in or sign up for Devpost to join the conversation.