I am looking for alternatives to Gumroad to sell “software licenses” / “activation codes” / “serial numbers” online.<p>I have seen several similar platforms that focus on selling digital assets (files) but not activation codes.<p>I could either upload a list of pregenerated codes to the platform, or have the platform generate the codes with an API to validate them. Both would be fine.<p>I need that the platform acts as a merchant of record (to handle VAT in different countries). This basically means that the platform would be invoicing users, and I would be invoicing the platform.<p>I would also need to be able to translate the product description to different languages (this is something that Gumroad cannot do — they force you to create different products) and also support EUR as a currency.<p>What solutions have you worked with?
It's not clear from your post, have you tried Gumroads API? They have an endpoint for verifying licenses that works nicely.<p><pre><code> curl https://api.gumroad.com/v2/licenses/verify \ -d "product_id=SDGgCnivv6gTTHfVRfUBxQ==" \ -d "license_key=YOUR_CUSTOMERS_LICENSE_KEY" \ -X POST
</code></pre>
Example in React/TS:<p><pre><code> const checkLicenseKeyWithGumroad = async (licenseKey: string) => {
try {
const isValidLicenseRequest = await axios.post(
process.env.GUMROAD_VERIFY_URL as string,
{
product_id: 'SDGgCnivv6gTTHfVRfUBxQ==',
license_key: licenseKey?.trim()
}
)
const isValidLicense = isValidLicenseRequest?.data?.success ? true : false
return isValidLicense
} catch (error) {
console.log(`Error checking license key: ${error}`)
return false
}</code></pre>
}<p>For your language issue, you could self-host the platform and only run purchases through Gumroad. This is how I do it.
<a href="https://docs.lemonsqueezy.com/help/licensing" rel="nofollow">https://docs.lemonsqueezy.com/help/licensing</a> (I've never used it myself)
Long term HN user @ezekg also runs this <a href="https://keygen.sh/" rel="nofollow">https://keygen.sh/</a> if that might suit your needs (i.e. if you want to separate out licensing logic from the payment logic)
Highly recommend implementing accounts for your software and licensing through that, as well as making some features of your app online only (server side), even if they don't have to be.<p>If your software becomes commercially successful it will eventually get cracked and many corps will use that because licensing in an org setting is messy and who wants to ask for software or deal with the red tape?
>also support EUR as a currency.<p>Doesn't Gumroad support EU (I assume you mean Euro) as a currency?<p>EU & UK VAT on Gumroad<p><a href="https://help.gumroad.com/article/10-dealing-with-vat" rel="nofollow">https://help.gumroad.com/article/10-dealing-with-vat</a>