Inspiration
One problem that we sometimes run into as students is splitting the bill, or taking turns paying the bill for each other, whether for things like eating out or going for groceries. Because of this, we often take to using financial service platforms such as Venmo, Apple Pay, Zelle, PayPal, or CashApp to pay each other back. This requires students to have multiple apps to pay different people back. This led us to think: What if payment systems could be integrated into Discord servers? As one of the most common and widely used social media platforms, Discord has quickly become one of the staples of modern digital communication, especially for college students. Consolidating a payment service in Discord would provide a centralized location where all students can easily pay each other back.
What it does
Discord server members can issue commands to the bot to pay other members who are in the same Discord server, request payment from others, and compute and split costs for group transactions in a simple way.
How we built it
Bringing the next generation of payments into Discord for gamers and students alike, we used Capital One's Hackathon API(http://api.nessieisreal.com/) to bring a reimagined online payment integration using a Discord bot. We used CockroachDB for scalability, enabling usability for servers of all sizes, to survive the harshest conditions and thrive everywhere.
Challenges we ran into
- Understanding the Capital One API requirements for request payloads and avoiding 404 response codes when sending payloads to create new customers, accounts, and transactions
- Understanding how to insert records in CockroachDB and how to perform queries with SQLAlchemy
- Setting up a CockroachDB database
- Understanding how the Discord.py library has updated since the team last used the library
- Delegating work in an efficient manner
Accomplishments that we're proud of
- Learning on the fly
- Understanding how to set up a CockroachDB database
- Implementing Discord interaction commands in Python
- Successfully integrating both the Capital One API and CockroachDB into our app solution
What we learned
- How to use Cogs and Interactions in Discord.py
- SQLAlchemy & CockroachDB
- How to use the Capital One Hackathon API
- How to use Postman for debugging requests
What's next for WumPay
- Including other payment methodology including cryptocurrency and handling different currency transaction
- We want to expand payments to more than just a transaction, but also a way to gift people (i.e. red envelopes)
- Storing and remember transaction history for tracking purposes
Built With
- capitalonehackathonapi
- cockroachdb
- discord
- discord.py
- python
Log in or sign up for Devpost to join the conversation.