How do I test payments and e-mails before my app goes live?
Short answer
A published app cannot reach payment or e-mail services today. To test the sign-in code e-mail, sign in with a second address; that account stays.
Before you start
Words used here (1)
- sign-in code
- A sign-in code is a 6-digit number GilbPlatform e-mails to you; typing it proves the address is yours and signs you in.
Deeper
Also asked:
How do I test payments without paying real money? Your published app cannot take payments today. If it links to a payment service's own page, use that service's way of testing: Stripe's sandbox, for example, moves no money and takes test cards such as 4242 4242 4242 4242.
How do I check that e-mails from my app actually arrive? Your app sends no e-mails today; the only one is GilbPlatform's sign-in code. Sign in with a second e-mail address you can open, and look in the inbox and in the junk or spam folder.
What is blocked today. An app put live at its own web address, https://<name>.pages.dev, where <name> is the name given to your site, may fetch data only from its own address and from GilbPlatform's own addresses, such as id.gilb.com, and run only its own scripts, the code that makes a page work. It has no server code, code that runs on a computer on the internet for your app: publishing refuses a functions folder, because it would run your code on the server. Publishing is also refused when a file looks like a secret key, such as a Stripe secret key. So your published app cannot take a payment through a payment service, hear back from one, or send e-mails through an e-mail service today, and there is no such part in it to test. If your app needs payments or e-mails, write to [email protected].
Payments. A payment service is a company that takes card or other payments for you, such as Stripe, for example. The security rules for published sites do not block a plain link that opens another site, such as a payment service's own payment page; the answer Can I connect Stripe, PayPal or Vipps to my app? tells how, and what you must do yourself. Payment services have their own ways of testing without real money; ask the service for yours. Stripe, for example, says that transactions simulated in its sandbox, a separate place for testing, don’t move funds, that you can use a card number, such as 4242 4242 4242 4242, and: Don’t use real card details. (https://docs.stripe.com/testing, read 13 November 2026). Its testing page and its Payment Links page (https://docs.stripe.com/payment-links, read 13 November 2026) do not say whether a payment link works in the sandbox the same as the real one; read the service's own pages, or ask the service. Before you go live, you could open the link from your app yourself and check that it leads to the page for real payments, with the right price. Your app does not learn by itself who has paid: you check the payments in the service's own pages. The answer What happens when a payment fails or someone wants their money back? tells more.
E-mails. Your app sends no e-mails today. The one e-mail the people who use your app get is the sign-in code: when people sign in to your app, GilbPlatform sends them a code by e-mail, through Resend, a US e-mail service. The e-mail is written in English and carries your app's name where GilbPlatform knows it.
To check that it arrives, sign in to your app with a second e-mail address you can open, if you can at another e-mail provider (the company that runs a mailbox) than your own first address. Each address makes its own account, so this makes a real new account with its own vault, the place where that person's records are kept. Then:
- Look for the code in the inbox, and in the junk or spam folder too. A code found in the spam folder works the same.
- Type it in. A code works once, and for 10 minutes.
- If none comes, wait and ask again. You can ask for a new code 45 seconds after the last one, and at most 3 times in 10 minutes for one address.
Whether the e-mail lands in the inbox or in the junk or spam folder is decided by each person's e-mail provider, not by GilbPlatform or by you, so no one can promise it. Tell the people who use your app to look in the junk or spam folder too if the code does not come. The answer I did not get the code, or it does not work. What now? tells more.
You can do this on your computer before your app goes live, or once it is live. If your app signs people in, the copy on your computer may first need your approval to reach your vaults; ask your AI what it needs. An account made this way stays until you ask for it to be deleted: GilbApp has no delete button for an account, and the answer How do I delete my account? shows the e-mail to write.
If the people who use your app often miss the sign-in code e-mail, write to [email protected]. The answers Can my app send e-mails, such as a welcome e-mail or an order confirmation? and Will my app's e-mails end up in spam? tell more.
This answer is written for a computer screen.
Source: GilbPlatform 0fc5a548 (https://id.gilb.com/version, read 13 November 2026): workers/publish-ingest/src/checks.ts:21, :146 (no server code: a functions folder would run your code on the server), :30-40, :158 (key-shaped strings, such as a Stripe key, refuse a publish), :165-172 (Content-Security-Policy: connect-src 'self' https://*.gilb.com; script-src 'self'; form-action 'self'); src/auth/send-otc-email.ts (the sign-in code e-mail, in English, with the app's name where known, sent through Resend); src/auth/email-otc.ts:64-76 and src/auth/send-guard.ts:34-59 (a code works once and for 10 minutes; 45 seconds; 3 in 10 minutes per address). Standard Rule_Code_deployment (RuleDeployPagesDev). Stripe, Testing (https://docs.stripe.com/testing, read 13 November 2026). Live help pages, sentences shared: Can I connect Stripe, PayPal or Vipps to my app?; Can my app send e-mails, such as a welcome e-mail or an order confirmation?; Will my app's e-mails end up in spam?; I did not get the code, or it does not work. What now?; Which e-mail address should I use, and can I change it later?; How do I delete my account?; Where can I test what I've built, and try it myself before anyone else sees it?; What happens when a payment fails or someone wants their money back?
Checked against GilbApp d529620.