Everything you need to integrate subscriptions into your Base app
Add crypto subscriptions to ANY website - WordPress, Shopify, Webflow, or custom HTML - with just 2 lines of code. Perfect for non-technical merchants.
Add this script tag to your HTML (before closing </body> tag):
<script src="https://subflo.xyz/widget/subflo-widget.js"></script>Customize with YOUR details and place wherever you want the button:
<div
data-subflo-merchant="YOUR_WALLET_ADDRESS"
data-subflo-amount="10"
data-subflo-product="Premium Plan"
data-subflo-interval="2592000"
data-subflo-button-text="Subscribe Now"
data-subflo-button-style="green"
></div>data-subflo-merchantYour wallet address where payments will be sent
data-subflo-amountPrice in USDC (e.g., "10" = $10 USDC)
data-subflo-productName of your product or service
data-subflo-intervalBilling cycle in seconds
data-subflo-button-textCustom button text (default: "Subscribe Now")
data-subflo-button-styleButton color: "blue", "green", "purple", or "black"
Here's a full HTML page with SubFlo widget:
<!DOCTYPE html>
<html>
<head>
<title>My Product</title>
</head>
<body>
<h1>Subscribe to Premium Plan</h1>
<p>Get unlimited access for just $10/month!</p>
<!-- SubFlo Widget -->
<script src="https://subflo.xyz/widget/subflo-widget.js"></script>
<div
data-subflo-merchant="0xYourWalletAddress"
data-subflo-amount="10"
data-subflo-product="Premium Plan"
data-subflo-interval="2592000"
data-subflo-button-text="Subscribe with Crypto"
data-subflo-button-style="green"
></div>
</body>
</html>