Inspiration
Small businesses, freelancers, and independent professionals often face unnecessary friction when collecting payments. They have to share wallet addresses, communicate payment amounts manually, and spend time checking transactions to confirm whether customers have paid.
I wanted to make receiving cryptocurrency payments feel as simple as sharing a link.
That inspired PayLink: a simple payment-link solution that allows anyone to create a payment request, share it with a customer, and receive USDC through a connected wallet. Our goal is to make stablecoin payments more accessible and practical for everyday business transactions.
What it does
PayLink allows merchants and freelancers to create specific USDC payment requests and share them through unique checkout links.
The platform provides two main experiences:
- Merchant Dashboard: Create payment requests, specify the amount, generate shareable payment links, and monitor payment statuses.
- Customer Checkout: Open a payment link, review the requested amount, connect a Pollar wallet, and initiate a USDC payment.
PayLink integrates with the Pollar SDK to handle wallet connections and payment transactions on Stellar Testnet. It processes different transaction outcomes, including successful, pending, failed, and co-signing states, and checks transaction status before marking a payment as paid.
The idea is straightforward: create a request, share a link, get paid.
How we built it
I built PayLink using React, Vite, and TypeScript, with React Router handling navigation between the merchant dashboard and customer checkout pages.
Our main technologies include:
- React: Building the user interface and reusable components.
- TypeScript: Providing type safety and more predictable application behaviour.
- Vite: Development environment and production build tooling.
- Pollar SDK: Wallet connectivity and payment transaction submission.
- Stellar Testnet: Supporting USDC payment transactions and transaction status verification.
- Browser LocalStorage: Persisting payment requests and transaction statuses within the browser.
I integrated Pollar’s @pollar/core and @pollar/react SDKs to handle wallet interactions and payment submission. The application uses the SDK’s sendPayment() method to initiate USDC transfers and getTxStatus() to check transaction outcomes.
I also implemented transaction-state handling to ensure that pending or unsuccessful transactions are not incorrectly presented as completed payments.
Challenges we ran into
One of my biggest challenges was integrating blockchain payments into an experience that feels familiar to people who are not necessarily comfortable with cryptocurrency.
I also had to understand the Pollar SDK’s transaction lifecycle and correctly handle its different response states. A submitted transaction is not necessarily a confirmed payment, so distinguishing between pending and successful transactions was particularly important.
Another challenge was ensuring that the correct Stellar USDC issuer was configured rather than assuming an asset issuer.
I also had to consider duplicate payment attempts and transaction uncertainty. Our implementation blocks another payment attempt while an earlier transaction remains unresolved in the same browser.
Finally, building a payment experience without introducing unnecessary complexity required careful decisions around the checkout flow and merchant experience.
Accomplishments that we’re proud of
I am proud of building a working payment-link application that brings together merchant payment requests, customer checkout, wallet connectivity, and blockchain transaction-status handling.
Some of our key accomplishments include:
- Building a merchant dashboard for creating and managing payment requests.
- Implementing unique, shareable checkout links.
- Integrating Pollar’s wallet and payment SDK.
- Supporting USDC payment requests on Stellar Testnet.
- Implementing transaction-state handling for successful, pending, failed, and co-signing outcomes.
- Adding transaction-status checks before recognizing payments as completed.
- Creating a straightforward experience that reduces the complexity of requesting and collecting stablecoin payments.
Most importantly, I have established a foundation that can evolve into a more complete payment collection platform.
What we learned
Building PayLink taught me that blockchain payment infrastructure is only part of the problem. Making that infrastructure accessible through a simple and trustworthy user experience is equally important.
We gained practical experience integrating Pollar’s SDK, understanding Stellar payment flows, working with USDC assets, and handling asynchronous blockchain transaction states.
I also learned the importance of distinguishing between transaction submission and actual confirmation. In payment applications, accuracy and trust are essential.
Another important lesson was understanding the limitations of browser-based persistence and why a production payment system needs reliable backend storage, shared merchant records, and independent transaction verification.
What’s next for PayLink
Our vision is to evolve PayLink from a browser-based payment-link prototype into a reliable payment collection platform for businesses and independent professionals.
Our next priorities include:
- Backend Infrastructure: Introduce a backend and database for persistent payment requests and transaction records.
- Cross-device Payments: Allow merchants and customers to access payment information across different devices and browsers.
- Reliable Payment Verification: Implement server-side transaction verification and trusted blockchain event monitoring.
- Payment Receipts: Generate verifiable payment receipts that merchants can share with customers.
- QR Code Payments: Allow merchants to generate QR codes for their payment requests.
- Merchant Analytics: Introduce transaction history, payment summaries, and reporting.
- Multi-asset Support: Explore additional supported stablecoins and payment networks.
Ultimately, I want PayLink to make requesting and receiving digital payments as simple as sharing a link, while keeping the underlying blockchain technology reliable, transparent, and accessible.
Built With
- polar
- react
- stellar
- typescript
- vite