Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📝 Generate invoice for purchases (#2226)
Luke Vella3ab09d2e7ff2
diff --git a/apps/docs/self-hosting/licensing.mdx b/apps/docs/self-hosting/licensing.mdxindex bead6e25b..31d7c161a 100644--- a/apps/docs/self-hosting/licensing.mdx+++ b/apps/docs/self-hosting/licensing.mdx@@ -56,7 +56,7 @@ We operate an **honor system** for user limits. If you exceed your user limit, y</Accordion><Accordion title="Can I get an invoice?">-For Plus and Organization tiers, you'll automatically receive a payment receipt via email right after your purchase. This receipt contains all the necessary transaction details for your accounting and tax purposes. Formal invoices are a feature specifically included with our Enterprise tier. If you have any questions about your receipt, or if you're an Enterprise customer needing an invoice, please don't hesitate to [contact us](/contact/support).+Yes, an invoice is automatically generated for every purchase. You'll receive it via email shortly after your payment is processed.</Accordion><Accordion title="Can I get a refund?">diff --git a/apps/web/src/app/api/stripe/buy-license/route.ts b/apps/web/src/app/api/stripe/buy-license/route.tsindex b92fe55e4..cd8040bae 100644--- a/apps/web/src/app/api/stripe/buy-license/route.ts+++ b/apps/web/src/app/api/stripe/buy-license/route.ts@@ -72,12 +72,16 @@ export async function GET(request: NextRequest) {mode: "payment",success_url: "https://rallly.co/licensing/thank-you",allow_promotion_codes: true,+ billing_address_collection: "required",tax_id_collection: {enabled: true,},automatic_tax: {enabled: true,},+ invoice_creation: {+ enabled: true,+ },metadata: {licenseType: type,version: 4,