Pro & Payments
Pro & Payments
How the Pro one-time purchase works, including Creem checkout and the GitHub invitation flow.
The portal sells AI Cost Gate Pro as a one-time source-code purchase. There are no subscriptions and no recurring charges.
What you get
For a single $29 payment you receive:
- Full access to the private
ai-cost-gateGitHub repository (collaborator role). - The docker-compose deployment we ship.
- All updates within the v1.x line.
- 14-day refund window.
How checkout works
- Click "Get Pro" on the Pro page.
- The portal creates a
pro_licenserow in the portal's database withstatus=pending. - The portal calls Creem's
/v1/checkoutsAPI with asuccess_urlpointing back to/checkout/thanks. - Creem redirects the buyer to a payment page.
- After payment, Creem sends a
checkout.completedwebhook to the portal. - The webhook handler:
- Verifies the HMAC signature.
- Marks the
pro_licenserowactive. - Calls GitHub's
PUT /repos/{owner}/{repo}/collaborators/{username}to invite the buyer. - Sends a confirmation email to the buyer.
- The buyer is redirected to
/checkout/thanksand given a 14-day refund window.
Refund policy
See the Refund policy. Refunds within 14 days are honoured. The pro_license row is marked refunded and the GitHub invitation is revoked.
See also
- Webhooks — for the webhook handler implementation.