[{"data":1,"prerenderedAt":1193},["ShallowReactive",2],{"navigation_docs":3,"-guide-modules-payments":613,"-guide-modules-payments-surround":1190},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":357,"body":615,"description":1173,"extension":1184,"links":1185,"meta":1186,"navigation":1187,"path":358,"seo":1188,"stem":359,"__hash__":1189},"docs\u002F3.guide\u002F6.modules\u002F8.payments.md",{"type":616,"value":617,"toc":1172},"minimark",[618,631,636,669,680,684,794,801,805,849,860,864,869,930,933,937,940,954,958,964,970,976,982,988,994,1000,1028,1043,1055,1063,1084,1097,1102,1125,1141,1145,1158,1162],[619,620,621,622,626,627,630],"p",{},"Payments lets the modules that charge money take payments from visitors. Today the shop is its only user. Visitors\npay on Mollie's own checkout page, so card and bank details never reach the site's server. It is an official module\n(",[623,624,625],"code",{},"payments","): an admin installs it, enters a Mollie API key in its settings and switches it on\nunder ",[628,629,317],"strong",{},". The client uses their own Mollie account. Until 18 November 2026 payments were a service of SHADE's\ncore; now they are a module like the shop, so a site that takes no payments does not carry them.",[632,633,635],"h2",{"id":634},"what-users-can-do","What users can do",[637,638,639,658,664],"ul",{},[640,641,642,645,646,649,650,653,654,657],"li",{},[628,643,644],{},"Admins"," install the module, enter, replace or remove the Mollie API key in its settings, switch it on and off, and\nsee every payment taken on the ",[628,647,648],{},"Payments"," screen. A ",[623,651,652],{},"test_…"," key runs everything in test mode, where no real money\nis taken; a ",[623,655,656],{},"live_…"," key takes real payments. A saved key is never shown again.",[640,659,660,663],{},[628,661,662],{},"Visitors"," start a checkout on the site through a module such as the shop, pay on Mollie's page, and return to a\npage of the site that the module chooses.",[640,665,666,668],{},[628,667,317],{}," that require it start checkouts, hear about every status change of their payments, and refund all or\npart of a paid payment. Each sees only its own payments.",[619,670,671,672,675,676,679],{},"The Payments screen has no refund button and no manual status changes. Refunds and cancelling happen from the module\nthat took the payment (for the shop: ",[628,673,674],{},"Refund"," and ",[628,677,678],{},"Cancel order"," on the Orders page).",[632,681,683],{"id":682},"who-may-do-it","Who may do it",[685,686,687,703],"table",{},[688,689,690],"thead",{},[691,692,693,697,700],"tr",{},[694,695,696],"th",{},"Action",[694,698,699],{},"Permission",[694,701,702],{},"Roles",[704,705,706,725,737,750,761,783],"tbody",{},[691,707,708,712,722],{},[709,710,711],"td",{},"Install, switch on or off, save the Mollie key",[709,713,714,717,718,721],{},[623,715,716],{},"packages.manage"," (",[719,720,317],"a",{"href":318},")",[709,723,724],{},"admin",[691,726,727,730,735],{},[709,728,729],{},"See the Payments screen",[709,731,732],{},[623,733,734],{},"payments.payments.read",[709,736,724],{},[691,738,739,742,747],{},[709,740,741],{},"Read the payments' numbers with an AI assistant's tools",[709,743,744],{},[623,745,746],{},"payments.read",[709,748,749],{},"admin, ai",[691,751,752,755,758],{},[709,753,754],{},"Start a checkout",[709,756,757],{},"the module decides",[709,759,760],{},"visitors, through the module",[691,762,763,766,768],{},[709,764,765],{},"Refund or cancel a payment",[709,767,757],{},[709,769,770,771,774,775,779,780],{},"shop: ",[623,772,773],{},"commerce.orders.refund"," (admin, ",[776,777,778],"em",{},"Shop manager",") and ",[623,781,782],{},"commerce.orders.manage",[691,784,785,788,791],{},[709,786,787],{},"Report a payment's status",[709,789,790],{},"anyone may report; the module checks with Mollie",[709,792,793],{},"Mollie",[619,795,796,797,800],{},"Editors can neither see the payments nor change the key (see ",[719,798,799],{"href":222},"Users",").",[632,802,804],{"id":803},"setting-it-up","Setting it up",[806,807,808,819,834,837],"ol",{},[640,809,810,811,814,815,717,817,800],{},"Install the module and open its ",[628,812,813],{},"Settings"," under ",[628,816,317],{},[719,818,317],{"href":318},[640,820,821,822,825,826,829,830,833],{},"Enter the ",[628,823,824],{},"Mollie API key",", found in the Mollie dashboard under Developers. It starts with ",[623,827,828],{},"test_"," or ",[623,831,832],{},"live_"," and\nis stored encrypted. Saving with the field empty keeps the stored key. The module shows as \"needs setup\" until a key\nis stored.",[640,835,836],{},"Switch the module on. Do this before the modules that take payments: the shop cannot be switched on until it is\non, and the payments module cannot be switched off or uninstalled while a module that needs it is on.",[640,838,839,840,842,843,845,846,800],{},"Start with a ",[623,841,652],{}," key, try a checkout, and replace it with the ",[623,844,656],{}," key when you are ready. A payment made\nunder the old key is unknown to Mollie under the new one: finish or refund those first (see ",[776,847,848],{},"Test and live",[619,850,851,852,855,856,859],{},"The instance needs its public API address set (",[623,853,854],{},"SHADE_API_URL","), because Mollie needs an address to report payments\nto (",[719,857,858],{"href":47},"Coolify","). Without it checkouts are refused.",[632,861,863],{"id":862},"in-the-admin","In the admin",[619,865,866,868],{},[628,867,648],{}," (in the sidebar's Sales section; icon: credit card), for admins, once the module is on.",[637,870,871,890,893,899],{},[640,872,873,874,877,878,881,882,885,886,889],{},"Header badge: ",[628,875,876],{},"Live: real payments",", ",[628,879,880],{},"Test mode",", or ",[628,883,884],{},"Not set up"," (no key stored). A ",[628,887,888],{},"Mollie key"," button\ntakes you to the module's settings, where the key is entered.",[640,891,892],{},"Intro text explaining that visitors pay on Mollie's own page and card details never reach the site.",[640,894,895,898],{},[628,896,897],{},"Payments still need the stored key",": when payments are open or pending, or paid and not fully refunded, a card\nwarns that Mollie knows them only under the stored key. With another account's key, or a live key instead of a test\none, their updates and refunds stop working.",[640,900,901,903,904,877,907,877,910,913,914,917,918,921,922,925,926,929],{},[628,902,648],{}," list, newest first: columns ",[628,905,906],{},"When",[628,908,909],{},"For",[628,911,912],{},"Amount"," (in euros, with what was refunded), ",[628,915,916],{},"Module",",\n",[628,919,920],{},"Status"," (Open, Pending, Paid, Failed, Cancelled, Expired) and a ",[628,923,924],{},"Test"," badge. Above it a status select\n(",[628,927,928],{},"Every status"," or one) and a module field. Empty state: \"No payments yet.\"",[619,931,932],{},"The screen and the settings are also in Dutch.",[632,934,936],{"id":935},"on-the-website","On the website",[619,938,939],{},"Nothing directly; payments are started by modules. The flow for a visitor of the shop:",[806,941,942,945,948,951],{},[640,943,944],{},"The visitor checks out. The shop creates an order, reserves stock and starts a payment.",[640,946,947],{},"The visitor is sent to Mollie's checkout page, in the page's language when Mollie knows it (Dutch, English,\nGerman, French, Spanish or Italian).",[640,949,950],{},"The visitor pays (or cancels) on Mollie's page. Mollie sends them back to the page the module chose (for the\nshop: its confirmation page, which keeps checking the order status).",[640,952,953],{},"Mollie tells the site that the payment changed. The module asks Mollie for the payment again, stores its status,\nand tells the module that started it.",[632,955,957],{"id":956},"rules-and-limits","Rules and limits",[619,959,960,963],{},[628,961,962],{},"Statuses."," Open, Pending, Paid, Failed, Cancelled, Expired. They follow Mollie's statuses; Mollie's \"authorized\"\ncounts as Pending. A new payment starts as Open. After that it follows what Mollie reports, with two rules: Paid\nstays Paid, and a finished payment (Failed, Cancelled, Expired) never opens again; it can still become Paid when the\nmoney arrives late. A refund does not change the status: it only increases the refunded amount.",[619,965,966,969],{},[628,967,968],{},"Amount checks."," When Mollie reports a payment paid but the amount or currency differs from what was asked, the\npayment is marked Failed.",[619,971,972,975],{},[628,973,974],{},"Amounts and currency."," Amounts are counted in whole cents, from 1 cent to €1,000,000. The currency is always\neuro, and only Mollie is supported.",[619,977,978,981],{},[628,979,980],{},"What a checkout holds."," The payment belongs to the module that started it. It carries the module's own reference\n(an order number, at most 200 characters) and a description (1–255 characters). One module never sees another's\npayments.",[619,983,984,987],{},[628,985,986],{},"No double payments."," A checkout the module sends twice (for example when a visitor clicks again or a request is\nrepeated) gives the payment already started, and Mollie never creates two payments for it. If an earlier attempt\nfailed before the visitor was sent to Mollie, the next one tries again with the same payment.",[619,989,990,993],{},[628,991,992],{},"Refunds and cancelling."," They happen from the module that took the payment, after that module's own permission\ncheck. Only paid payments can be refunded, in full or in part, as long as the total stays within the amount paid\n(\"At most N cents can still be refunded\"). An optional reason (at most 255 characters) is passed to Mollie as the\nrefund's description. Refunds of one payment made at the same moment wait for each other, so together they never\nexceed what was paid. A payment that is not paid yet is cancelled where Mollie allows it (bank transfer and a few\nother methods); a card or iDEAL payment that is still open cannot be cancelled and simply expires.",[619,995,996,999],{},[628,997,998],{},"Refunds Mollie made that the site did not record"," (for example one made in Mollie's dashboard): before refunding,\nand on every update from Mollie, the module asks Mollie how much is refunded already and takes the higher amount\nover, so nothing is refunded twice. The refunded amount never goes down and never exceeds the amount.",[619,1001,1002,1005,1006,717,1009,877,1012,917,1015,877,1018,877,1021,779,1024,1027],{},[628,1003,1004],{},"Telling the module."," Every change of a payment is an event, ",[623,1007,1008],{},"payments.payment.\u003Cstatus>",[623,1010,1011],{},"pending",[623,1013,1014],{},"paid",[623,1016,1017],{},"failed",[623,1019,1020],{},"canceled",[623,1022,1023],{},"expired",[623,1025,1026],{},"payments.payment.refunded",", also for a refund made in Mollie's dashboard. The\nmodule that started the payment hears it. If it fails to handle one, it is tried again. A module that is switched off\nhears nothing; when it is switched on again, it hears every event it missed, so a payment made while the shop was\noff still marks its order paid. The module acts as itself, with only what its install consent lists, never as the\nadmin who switched it on: nobody signed in caused a payment's status.",[619,1029,1030,1033,1034,1036,1037,1039,1040,1042],{},[628,1031,1032],{},"Test and live."," The mode comes from the key: ",[623,1035,652],{}," is test, ",[623,1038,656],{}," is live. Updates and refunds always use\nthe key stored now; a payment made under another key (another account, or test while live is stored) is unknown to\nMollie under the new one, so its later updates and refunds fail. Hence the warning on the Payments screen: finish or\nrefund those payments first, or keep the key until they are done. Each payment records the mode it was created in,\nshown as the ",[628,1041,924],{}," badge.",[619,1044,1045,1048,1049,800],{},[628,1046,1047],{},"What is stored."," Per payment: module, reference, amount, refunded amount, currency, description, status,\nprovider, mode, Mollie's payment id, the checkout address, the module's key against double payments and the time it\nwas paid. No card or bank data, and no visitor details. The API key is stored encrypted and never shown in the\nbrowser again; if the instance's secret key changes, the API key has to be entered again\n(",[719,1050,1051,1052],{"href":55},"Rotating ",[623,1053,1054],{},"APP_SECRET",[619,1056,1057,717,1060,1062],{},[628,1058,1059],{},"Retention",[719,1061,273],{"href":274},"). Paid payments are bookkeeping records and are\nkept seven years by default, as Dutch law requires. Payments never paid (failed, expired or cancelled before payment) are kept 90\ndays by default.",[619,1064,1065,717,1068,1071,1072,1075,1076,1079,1080,1083],{},[628,1066,1067],{},"Audit entries",[719,1069,1070],{"href":262},"Audit","): each refund (",[623,1073,1074],{},"payments.refund","), each payment a\nmodule cancelled (",[623,1077,1078],{},"payments.cancel",") and each refused payment webhook (",[623,1081,1082],{},"payments.webhook-refused",", at most once a\nminute). Starting a checkout and status updates are not audited by payments; the shop audits its own order changes.",[619,1085,1086,1089,1090,1093,1094,1096],{},[628,1087,1088],{},"The security alert."," Mollie never calls the webhook about a payment this site did not start. When calls to it name\nno Mollie payment, or one this site never started, in 5 or more minutes of the last 15, the alert ",[776,1091,1092],{},"Payment webhooks\nare being refused"," is raised and emailed to the admins, with the others in\n",[719,1095,225],{"href":226},". It means someone may be trying to fake a payment.\nNothing was changed: the module believes only what Mollie itself answers.",[619,1098,1099],{},[628,1100,1101],{},"Failures.",[637,1103,1104,1107,1110,1113,1119,1122],{},[640,1105,1106],{},"No key stored: the module needs setup, and a module that needs it cannot be switched on. If the key is removed\nmeanwhile, checkouts are refused with \"Payments are not set up\".",[640,1108,1109],{},"The instance has no public API address set: checkouts are refused (\"Payments need this instance's public address\").",[640,1111,1112],{},"Mollie refuses or does not answer within 10 seconds: the payment is marked Failed and the checkout fails with\n\"The payment could not be started: …\" (Mollie's own error text, never the key). The shop then marks the order\nfailed and releases its stock.",[640,1114,1115,1116,1118],{},"Mollie keeps failing: SHADE stops calling it for a while, 30 seconds at first and at most 5 minutes\n(",[719,1117,317],{"href":318},"). A checkout meanwhile fails at once with \"Payments are not available just now. Try again\nin a few minutes.\", and the payment is not marked failed: the shop can start the same payment again. A 4xx from\nMollie (a wrong id or key) is an answer and never counts.",[640,1120,1121],{},"A report that names no valid Mollie payment is refused. A payment the site does not know is ignored, without\nsaying so.",[640,1123,1124],{},"While the site cannot reach Mollie, or the module that started a payment fails to handle it, the payment keeps its\nold status until a report gets through.",[619,1126,1127,1130,1131,1134,1135,1138,1139,800],{},[628,1128,1129],{},"The webhook address."," Mollie reports to ",[623,1132,1133],{},"\u003CSHADE_API_URL>\u002Fapi\u002Fv1\u002Faccount\u002Fpayments\u002Fwebhook",", a public route of the\nmodule (300 a minute per address). Its body only names a payment (",[623,1136,1137],{},"id=tr_…","), so the module asks Mollie for that\npayment and believes only Mollie's answer (",[719,1140,265],{"href":266},[632,1142,1144],{"id":1143},"for-ai-assistants","For AI assistants",[619,1146,1147,1148,1150,1151,675,1154,1157],{},"While the module is on, an assistant connected over MCP (",[719,1149,365],{"href":372},") has two read-only\ntools: ",[623,1152,1153],{},"payments_by_status",[623,1155,1156],{},"payments_recent",". They show amounts and statuses, never a checkout address.",[632,1159,1161],{"id":1160},"for-developers","For developers",[619,1163,1164,1165,1168,1169,1171],{},"The code and its tests: the README of ",[623,1166,1167],{},"plugin-payments",". How a module starts and refunds payments:\n",[719,1170,451],{"href":452},".",{"title":1173,"searchDepth":1174,"depth":1174,"links":1175},"",2,[1176,1177,1178,1179,1180,1181,1182,1183],{"id":634,"depth":1174,"text":635},{"id":682,"depth":1174,"text":683},{"id":803,"depth":1174,"text":804},{"id":862,"depth":1174,"text":863},{"id":935,"depth":1174,"text":936},{"id":956,"depth":1174,"text":957},{"id":1143,"depth":1174,"text":1144},{"id":1160,"depth":1174,"text":1161},"md",null,{},true,{"title":357,"description":1173},"Pg1H2u0hnRiTDFpHgNqFlgaUQsmLpqAxjVQ2IkdgVOc",[1191,1192],{"title":353,"path":354,"stem":355,"description":1173,"children":-1},{"title":361,"path":362,"stem":363,"description":1173,"children":-1},1796500160421]