Inspiration

I have worked with Shopify store owners and the Shopify application ecosystem for the last 4 years. Having built multiple apps on Shopify with 1000's of merchants using it, I have started to see a trend where more and more store owners every day want to try accepting crypto on their store and sell NFTs on their store.

What it does

Discount codes on Shopify Stores For XRP payments. Shopify merchants want to start testing accepting low-gas fees crypto on their stores without having to pay 2%-4% fees to Shopify or credit card for transactions. To encourage customers to pay with Crypto, shopify store owners can curate looks formed out of products and give a flat discount coupon code to purchase the items when you pay a preset amount with XRP.

How we built it

When it comes to payments, having previously built multiple featured apps both on ETH and Solana has shown us the drawbacks these chains have which include high gas fees for payments, network accessible only through smart contracts, not easy for new developers to pick up their smart contract language and more. Also, since my app is primarily payments driven and XRP payment ledger network is battle tested since 2011, it would be the ideal fit to build the project on.

Challenges we ran into

Sometimes making the libraries work with each other was kinda difficult. Like, the atob method would just fail when XRPL was included and the stack trace was difficult to debug. To solve it we had to manually update all the dependent libraries in our project which fixed the issue. This and few more issues like this were few of the challenges we encoutered.

Accomplishments that we're proud of

We created an easy way via React.Context to pass keys without storing it in the session which enhanced security and developer experience. We also created numerous re-usable module chunks which can be open-sourced and add to the eco-system of tools available for devs.

What we learned

Multiple things. We learned about how clean and clear the documentation can be for a blockchain as we dug more into XRP. We learnt how we can develop a web3 app without ever writing, deploying or upgrading our smart contracts. We also benefitted from faster execution as the smart contract layer was handled via XRP with exposed APIs.

What's next for XRP Coupon

The next steps are fixing a few bugs and adding a few more features that make tracking more simple followed by launching officially on the Shopify app store and future development and marketing efforts.

Share this project:

Updates