Payment Gateway Integrations
Solana USDC Checkout: Sell Digital Files for Crypto, Paid Straight to Your Wallet (Node.js)
Self-hosted checkout that sells downloads for USDC or SOL on Solana. Buyers scan a Solana Pay QR, the server verifies the payment on-chain and delivers a signed, expiring download link. No processor, no platform cut, 21 tests.
What you get: 1 file · 43.14 KB · ZIP
See purchase optionsProduct description
Get paid in USDC on Solana for your ebooks, templates, presets, code or music, directly to your own wallet.
Stripe, PayPal and Gumroad payouts are not available everywhere, and they take a cut. This kit gives you a small, readable shop that you run yourself. Buyers pay with Phantom, Solflare or any Solana Pay wallet, and the money goes straight to your address. Nobody holds your funds.
How it works
- The buyer clicks Buy. The shop creates an order with its own Solana Pay reference key and shows a QR code plus an "Open in wallet" button.
- The buyer approves the transfer in their wallet.
- The server finds the transaction on-chain and checks that it succeeded, that the money went to your wallet, that it was real USDC (the official mint, not a look-alike token) and that the amount is at least the price.
- The buyer gets a download link, usually within seconds. The link is HMAC-signed, expires (default 48 hours) and has a download limit (default 5).
Features
- Product list, product pages, QR checkout, live payment status, receipt page, and a reopenable order page if the buyer closes the tab.
- Prices in USDC or SOL per product, with integer math, so floating-point rounding can't cause errors.
- One transaction can never unlock two orders.
- Optional webhook after each payment, for example to send yourself an email or a Telegram message.
- A JSON-file order store, so you don't need a database server.
- 21 automated tests, including the full purchase flow checked against a real confirmed USDC transfer on Solana mainnet, plus a devnet end-to-end script.
What's in the download
One ZIP file (about 44 KB) with the complete Node.js project:
- 3 source files (src/server.js, src/solana.js, src/store.js), about 430 lines of plain JavaScript
- 2 test files plus a real mainnet transaction fixture (JSON)
- 2 scripts: devnet end-to-end test and read-only mainnet fixture fetcher
- README.md with 5-minute setup, a config reference, deployment to a VPS, Render, Railway or Fly with HTTPS, and an explanation of how verification works
- config.example.json, package.json, a sample product file and LICENSE
Requirements
Node.js 18 or newer and any host that runs Node (from about $5/month). Dependencies: Express, @solana/web3.js, qrcode. For real traffic, use a free RPC key from Helius, QuickNode or similar, because the public endpoint is rate-limited.
Good to know
This is software you host yourself, not a payment service: you control the funds. On-chain payments are final, so refunds, if you offer them, are sent manually from your wallet.
License
Use it for any number of your own shops and client projects. Reselling or redistributing the kit itself is not allowed.
What you get
1 file · 43.14 KB
- solana-usdc-checkout-v1.0.0.zipZIP · 43.14 KB
Payment Gateway Integrations
Solana USDC Checkout: Sell Digital Files for Crypto, Paid Straight to Your Wallet (Node.js)
Self-hosted checkout that sells downloads for USDC or SOL on Solana. Buyers scan a Solana Pay QR, the server verifies the payment on-chain and delivers a signed, expiring download link. No processor, no platform cut, 21 tests.
Included in Getly Pro
Download this and 7,900+ other products with one subscription, from $9.99 a month.
Join Getly ProGetly opened the uploaded files and found nothing that would stop them opening. It is not a virus scan or a quality rating.
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial and client work are both allowed, including products with unlimited sales. You may not resell the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 43.14 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$14.00



