← Payments, shops and subscriptions
Can I charge a monthly subscription, offer a free trial or give discount codes?
Short answer
Not inside your app today: GilbPlatform charges no one; a payment service such as Stripe can, on its own pages, under your own account.
Before you start
Words used here (1)
- GilbPlatform
- GilbPlatform is the service that keeps people's and organisations' data in vaults, each at its own web address.
Deeper
GilbPlatform today. GilbPlatform has no part that takes card or other payments, and no chapter of the Developer Guide, GilbPlatform's guide for people who build apps on it, and no help answer shows how to add a payment service to your app. So a monthly charge, a free trial and a discount code are things a payment service does, not GilbPlatform, and a published app cannot load such a service today: the security rules for published sites do not block a plain link to the service's own page. The answer Can I connect Stripe, PayPal or Vipps to my app? says how your app could use one, and why its secret keys never go into your app's pages.
A subscription, a payment taken again each month or year. Stripe says a payment link can be made for a subscription (https://docs.stripe.com/payment-links, read 13 November 2026), and PayPal says its subscriptions let you bill customers at regular intervals rather than collect one-time payments (https://developer.paypal.com/docs/subscriptions/, read 13 November 2026).
A free trial. PayPal lists Free or discounted trial periods (same page). Stripe says its trial offers let you Offer free or paid trials for items in a subscription, but names Payment Links among the ways that don’t support trial offers (https://docs.stripe.com/billing/subscriptions/trials, read 13 November 2026). So a trial may need more than a payment link; ask your AI what the service you choose needs.
Discount codes. Stripe says that when you make a payment link you can add promotion codes, and "Customers can enter these codes on their payment page to apply discounts on their purchases"; you make the codes in Stripe's own pages (https://docs.stripe.com/payment-links/promotions, read 13 November 2026).
What your app must know. To show a subscriber what they paid for, or to stop when a trial ends, your app must learn from the service who pays. For your app to know by itself that someone has paid, for example to mark an order or a booking as paid, the payment service must tell it. Stripe says it "sends a checkout.session.completed webhook that you can use for fulfillment and reconciliation" (https://docs.stripe.com/payment-links/post-payment, read 13 November 2026). A webhook is a message the service sends to a web address of yours, and receiving it needs a server, a computer on the internet that runs your app's own code even when no one has the app open. A published app has no server code, so this is blocked today; you check the payments yourself in the service's own pages. Write to [email protected] if you need more.
What your app's users pay is a separate matter. MyJackfruit is the public brand, at myjackfruit.com. Its Pricing page, which says it is provisional and may change, says a person's own vault, the place where they keep their records, is free, and that you pay for what your app does in it; see Do my app's users pay anything? The Pricing page does not say what an app's developer may charge.
Rules on trials, renewals and cancelling can differ between countries, and taxes apply to what you charge; this help gives no legal or tax advice. See What about receipts, VAT and taxes?
What you must do yourself: open your own account with the payment service, accept its terms and pay its fees. That agreement is between you and the service; GilbPlatform is not part of it.
Tell Kai-Zen, the planning agent, what you want; it changes the plan, and Agent.Coder, the agent that writes your app's code, builds the change. Whether you want it is your choice.
If you need payments in your app, write to [email protected].
This answer is written for a computer screen.
Source: GilbPlatform 0fc5a548 workers/publish-ingest/src/checks.ts:21 and :146 (functions, _worker.js, _headers refused: a functions folder would run your code on the server), :30-37 and :158 (key-shaped strings, incl. a Stripe secret key, refused), :165-171 (the site's own headers: Content-Security-Policy default-src 'self'; script-src 'self'; img-src 'self' data: blob: https://*.gilb.com; connect-src 'self' https://*.gilb.com; form-action 'self'; frame-ancestors 'none'); RuleDeployPagesDev. GilbPlatform 0fc5a548 (https://id.gilb.com/version, read 13 November 2026): no route takes payments; src/publish/site-name.ts:16-31 (pay, payment, payments, billing reserved; brand names incl. paypal, stripe refused). GilbApp 49b1ae53 (https://gilb.com/app/version.json, read 13 November 2026): no payment, checkout or booking control in src. Standards: Proc_v_i_c_PublishPagesDev (a built static folder is published at https://<name>.pages.dev); Agent.Coder (GilbStack 14a: a browser-only app cannot keep a key secret). Live help page, sentences shared: Where do I keep the passwords and keys for the services my app uses? Stripe, Payment Links, https://docs.stripe.com/payment-links, and After a payment link payment, https://docs.stripe.com/payment-links/post-payment, both read 13 November 2026. Stripe, Configure trial offers on subscriptions, https://docs.stripe.com/billing/subscriptions/trials, and Promotion codes, upsells, and optional items, https://docs.stripe.com/payment-links/promotions, both read 13 November 2026. PayPal, Subscriptions, https://developer.paypal.com/docs/subscriptions/, read 13 November 2026. MyJackfruit Pricing, https://myjackfruit.com/pricing/, as quoted on the live page Do my app's users pay anything? Live help pages, sentences shared: Can I make an online shop, or take payments in my app? (no part that takes payments; outside-service route; brand names refused); What is an outside service, and what does it learn about me?; Do my app's users pay anything?; What does my app need to remember, and how do I tell my AI which information to keep? (Kai-Zen changes the plan, Agent.Coder builds the change).
Checked against GilbApp d529620.