Sell washes, gift cards, and wash books online with an embeddable purchase portal.
To embed iFrames your domain has to be whitelisted. Please reach out to
support to do so.
iFrame
In the Website page under the Admin section you can copy the HTML for the Purchase Portal iFrame. A preview box for testing is available in the same section.
Configuration
You must select a location and package for the iFrame. That is the location to which the money will be deposited.You can optionally have a promotion pre-selected if you want to run ads and allow for easy sign up.The portal always shows a phone number field, which is optional by default. Turn on Require Phone Number under Options to make customers enter one before they continue to payment. When a customer gives a phone number that already belongs to a customer in your organization, the purchase attaches to that existing customer.
Callbacks
You can have your webpage listen for success/fail callbacks from the iFrame to respond accordingly. For example to redirect to a branded thank you page, or to feed the data into ads or 3rd party systems. There are two types of messages posted to the parent site:
flexwash-purchase-portal-success with the name, email, and phone number of the customer. The phone number is null when the customer leaves it blank.
flexwash-purchase-portal-error
Below is example Javascript that can be used for sign up portal events.
<script> function handleMessage(event) { if (event.origin !== 'https://app.flexwash.com') { return; } const { type } = event.data; if (type === 'flexwash-purchase-portal-error') { // error case } if (type === 'flexwash-purchase-portal-success') { // success case // name = event.data.name // email = event.data.email // phoneNumber = event.data.phoneNumber (null if not given) } } window.addEventListener('message', handleMessage);</script>
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FlexWash Docs","colors":{"primary":"#3498DB","light":"#5FBFFF","dark":"#002C3F"},"logo":{"light":"https://mintcdn.com/flexwash/5aEdDZXMrKXgqiOR/logo/logo.png?fit=max\u0026auto=format\u0026n=5aEdDZXMrKXgqiOR\u0026q=85\u0026s=966104d107a612283735ce671f34e66c","dark":"https://mintcdn.com/flexwash/5aEdDZXMrKXgqiOR/logo/logo.png?fit=max\u0026auto=format\u0026n=5aEdDZXMrKXgqiOR\u0026q=85\u0026s=966104d107a612283735ce671f34e66c"},"favicon":"https://mintcdn.com/flexwash/3Vd7OVp3aw6iTo4c/favicon.svg?fit=max\u0026auto=format\u0026n=3Vd7OVp3aw6iTo4c\u0026q=85\u0026s=e9437a23ddebfdc58b49b6f6ef927076","navbar":{"links":[{"href":"mailto:support@flexwashtech.com","label":"Support"}],"primary":{"type":"button","label":"App","href":"https://app.flexwash.com"}},"footer":{"socials":{"github":"https://github.com/FlexWashTech","linkedin":"https://www.linkedin.com/company/flexwashtech"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flexwash","hasAudioNarration":false,"actualSubdomain":"flexwash","customDomains":["docs.flexwash.com"],"gitSource":{"type":"github","owner":"flexwashtech","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b00be78f8db0b3f3aa1a0aa","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Reports","count":46},{"language":"default","tag":"Configuration","count":33},{"language":"default","tag":"Technical","count":32},{"language":"default","tag":"Memberships","count":26},{"language":"default","tag":"Data Import","count":24},{"language":"default","tag":"Operations","count":24},{"language":"default","tag":"Marketing \u0026 AI","count":20},{"language":"default","tag":"Hardware","count":14},{"language":"default","tag":"Getting Started","count":12},{"language":"default","tag":"Troubleshooting","count":12}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@flexwashtech.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"configuration/portals/purchase-portal","slug":"/configuration/portals/purchase-portal","pageMetadata":{"title":"Purchase Portal","description":"Sell washes, gift cards, and wash books online with an embeddable purchase portal.","icon":"badge-dollar","href":"/configuration/portals/purchase-portal"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Sell washes, gift cards, and wash books online with an embeddable purchase portal.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsx(_components.p,{children:`To embed iFrames your domain has to be whitelisted. Please reach out to\nsupport to do so.`})}),`\n`,_jsx(Heading,{level:`3`,id:`iframe`,children:_jsx(_components.strong,{children:`iFrame`})}),`\n`,_jsx(_components.p,{children:`In the Website page under the Admin section you can copy the HTML for the Purchase Portal iFrame. A preview box for testing is available in the same section.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/flexwash/BXXvDMtIXfaQM4LW/configuration/portals/purchase-portal/purchase-portal.png?fit=max\u0026auto=format\u0026n=BXXvDMtIXfaQM4LW\u0026q=85\u0026s=1d8cb1a819aa966f561d0a63c58fd65a`,alt:`Membership Pn`,\"data-og-width\":`1624`,width:`1624`,\"data-og-height\":`634`,height:`634`,\"data-path\":`configuration/portals/purchase-portal/purchase-portal.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/flexwash/BXXvDMtIXfaQM4LW/configuration/portals/purchase-portal/purchase-portal.png?w=280\u0026fit=max\u0026auto=format\u0026n=BXXvDMtIXfaQM4LW\u0026q=85\u0026s=e922bab11bf1724e0aa39e7b3ada9c38 280w, https://mintcdn.com/flexwash/BXXvDMtIXfaQM4LW/configuration/portals/purchase-portal/purchase-portal.png?w=560\u0026fit=max\u0026auto=format\u0026n=BXXvDMtIXfaQM4LW\u0026q=85\u0026s=a10eb5f491cbe8c10e53eb4f85ff0dec 560w, https://mintcdn.com/flexwash/BXXvDMtIXfaQM4LW/configuration/portals/purchase-portal/purchase-portal.png?w=840\u0026fit=max\u0026auto=format\u0026n=BXXvDMtIXfaQM4LW\u0026q=85\u0026s=3e117b42ac8e2d89bde609264393b934 840w, https://mintcdn.com/flexwash/BXXvDMtIXfaQM4LW/configuration/portals/purchase-portal/purchase-portal.png?w=1100\u0026fit=max\u0026auto=format\u0026n=BXXvDMtIXfaQM4LW\u0026q=85\u0026s=bf53d82c891094b763304b88af2292c1 1100w, https://mintcdn.com/flexwash/BXXvDMtIXfaQM4LW/configuration/portals/purchase-portal/purchase-portal.png?w=1650\u0026fit=max\u0026auto=format\u0026n=BXXvDMtIXfaQM4LW\u0026q=85\u0026s=335122405e1cdf3282635e0e2b3b5003 1650w, https://mintcdn.com/flexwash/BXXvDMtIXfaQM4LW/configuration/portals/purchase-portal/purchase-portal.png?w=2500\u0026fit=max\u0026auto=format\u0026n=BXXvDMtIXfaQM4LW\u0026q=85\u0026s=37a454466c8c89bd28e485da8842ae3f 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`configuration`,children:_jsx(_components.strong,{children:`Configuration`})}),`\n`,_jsx(_components.p,{children:`You must select a location and package for the iFrame. That is the location to which the money will be deposited.`}),`\n`,_jsx(_components.p,{children:`You can optionally have a promotion pre-selected if you want to run ads and allow for easy sign up.`}),`\n`,_jsxs(_components.p,{children:[`The portal always shows a phone number field, which is optional by default. Turn on `,_jsx(_components.strong,{children:`Require Phone Number`}),` under `,_jsx(_components.strong,{children:`Options`}),` to make customers enter one before they continue to payment. When a customer gives a phone number that already belongs to a customer in your organization, the purchase attaches to that existing customer.`]}),`\n`,_jsx(Heading,{level:`3`,id:`callbacks`,children:_jsx(_components.strong,{children:`Callbacks`})}),`\n`,_jsx(_components.p,{children:`You can have your webpage listen for success/fail callbacks from the iFrame to respond accordingly. For example to redirect to a branded thank you page, or to feed the data into ads or 3rd party systems. There are two types of messages posted to the parent site:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`flexwash-purchase-portal-success`}),` with the name, email, and phone number of the customer. The phone number is `,_jsx(_components.code,{children:`null`}),` when the customer leaves it blank.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`flexwash-purchase-portal-error`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Below is example Javascript that can be used for sign up portal events.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` function handleMessage(event) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`origin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://app.flexwash.com'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) { return; }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'flexwash-purchase-portal-error'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // error case`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'flexwash-purchase-portal-success'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // success case`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // name = event.data.name`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // email = event.data.email`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // phoneNumber = event.data.phoneNumber (null if not given)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` window.addEventListener('message', handleMessage);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Purchase Portal","description":"Sell washes, gift cards, and wash books online with an embeddable purchase portal.","icon":"badge-dollar","href":"/configuration/portals/purchase-portal"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"iFrame","slug":"iframe","depth":3,"children":[]},{"title":"Configuration","slug":"configuration","depth":3,"children":[]},{"title":"Callbacks","slug":"callbacks","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"flexwash","siteName":"FlexWash Docs","title":"Purchase Portal - FlexWash Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T16:10:33.212Z","originalFileLocation":"configuration/portals/purchase-portal.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sell washes, gift cards, and wash books online with an embeddable purchase portal.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FlexWash Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Purchase Portal - FlexWash Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sell washes, gift cards, and wash books online with an embeddable purchase portal.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FlexWash Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flexwash.com/configuration/portals/purchase-portal\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flexwash.mintlify.site/_mintlify/api/og/v2?division=Portals\u0026amp;title=Purchase+Portal\u0026amp;description=Sell+washes%2C+gift+cards%2C+and+wash+books+online+with+an+embeddable+purchase+portal.\u0026amp;theme=30532253cb18ade51b336f4c\u0026amp;signature=7a2159f42afaa310495a27cd0ee1867df6b6429f6b4e99c4e7a6701f88866f0b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Purchase Portal - FlexWash Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sell washes, gift cards, and wash books online with an embeddable purchase portal.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flexwash.mintlify.site/_mintlify/api/og/v2?division=Portals\u0026amp;title=Purchase+Portal\u0026amp;description=Sell+washes%2C+gift+cards%2C+and+wash+books+online+with+an+embeddable+purchase+portal.\u0026amp;theme=30532253cb18ade51b336f4c\u0026amp;signature=7a2159f42afaa310495a27cd0ee1867df6b6429f6b4e99c4e7a6701f88866f0b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/flexwash/RHLzRnJJZ1k-HV-3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FlexWash Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3498DB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flexwash.com/configuration/portals/purchase-portal\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/configuration/portals/purchase-portal.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flexwash.com/#organization\",\"name\":\"FlexWash Docs\",\"url\":\"https://docs.flexwash.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flexwash/5aEdDZXMrKXgqiOR/logo/logo.png?fit=max\u0026auto=format\u0026n=5aEdDZXMrKXgqiOR\u0026q=85\u0026s=966104d107a612283735ce671f34e66c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flexwash.com#website\",\"name\":\"FlexWash Docs\",\"url\":\"https://docs.flexwash.com\",\"publisher\":{\"@id\":\"https://docs.flexwash.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flexwash.com/configuration/portals/purchase-portal#webpage\",\"url\":\"https://docs.flexwash.com/configuration/portals/purchase-portal\",\"name\":\"Purchase Portal\",\"description\":\"Sell washes, gift cards, and wash books online with an embeddable purchase portal.\",\"dateModified\":\"2026-11-04T16:10:33.212Z\",\"isPartOf\":{\"@id\":\"https://docs.flexwash.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flexwash.com/configuration/portals/purchase-portal#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flexwash.com/configuration/portals/purchase-portal#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portals\",\"item\":\"https://docs.flexwash.com/configuration/portals/signup-and-member-portals\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Purchase Portal\",\"item\":\"https://docs.flexwash.com/configuration/portals/purchase-portal\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.flexwash.com/configuration/portals/purchase-portal#article\",\"headline\":\"Purchase Portal\",\"name\":\"Purchase Portal\",\"description\":\"Sell washes, gift cards, and wash books online with an embeddable purchase portal.\",\"url\":\"https://docs.flexwash.com/configuration/portals/purchase-portal\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flexwash.com/configuration/portals/purchase-portal#webpage\"},\"dateModified\":\"2026-11-04T16:10:33.212Z\",\"publisher\":{\"@id\":\"https://docs.flexwash.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flexwash.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FlexWash Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FlexWash Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/configuration/portals/purchase-portal.md","siteName":"FlexWash Docs","nav":{"global":null,"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/getting-started/introduction"}]},{"tab":"Operations","pages":[{"title":"Operations","href":"/operations/customers/update-customer"}]},{"tab":"Memberships","pages":[{"title":"Memberships","href":"/memberships/membership"}]},{"tab":"Reports","pages":[{"title":"Reports","href":"/reports/overview"}]},{"tab":"Configuration","groups":[{"group":"Wash Menu","pages":[{"title":"Single Wash Package","icon":"car-wash","href":"/configuration/wash-menu/single-wash-package"},{"title":"Membership Packages","icon":"calendars","href":"/configuration/wash-menu/membership-package"},{"title":"Add-On Services","icon":"circle-plus","href":"/configuration/wash-menu/addon-services"},{"title":"Retracts","icon":"arrows-to-line","href":"/configuration/wash-menu/retracts"},{"title":"Auto Retracts","icon":"arrows-left-right-to-line","href":"/configuration/wash-menu/auto-retracts"},{"title":"Store Items","icon":"can-food","href":"/configuration/wash-menu/store-items"},{"title":"Loyalty Points","icon":"star","href":"/configuration/wash-menu/loyalty-points"},{"title":"Taxes","icon":"percent","href":"/configuration/wash-menu/taxes"},{"title":"Terms and Conditions","icon":"newspaper","href":"/configuration/wash-menu/terms-and-conditions"},{"title":"Washbooks","icon":"grid","href":"/configuration/wash-menu/washbooks"}]},{"group":"Testing","pages":[{"title":"Pay Tablet Simulator","icon":"flask","href":"/configuration/testing/pay-tablet-simulator"}]},{"group":"Pricing \u0026 Promotions","pages":[{"title":"Deductions","icon":"minus","href":"/configuration/pricing-and-promotions/deductions"},{"title":"Promotions","icon":"tag","href":"/configuration/pricing-and-promotions/promotions"},{"title":"Upsells","icon":"chevron-up","href":"/configuration/pricing-and-promotions/upsells"},{"title":"Downsells","icon":"chevron-down","href":"/configuration/pricing-and-promotions/downsells"},{"title":"Discounts","icon":"badge","href":"/configuration/pricing-and-promotions/discounts"}]},{"group":"Portals","pages":[{"title":" ECommerce","icon":"address-card","href":"/configuration/portals/signup-and-member-portals"},{"title":" Member Portal","icon":"address-card","href":"/configuration/portals/management-portal"},{"title":" Sign Up Portal","description":"Convert website visitors into members with a sign-up form you embed on your website.","icon":"check","href":"/configuration/portals/sign-up-portal"},{"title":"Purchase Portal","icon":"badge-dollar","href":"/configuration/portals/purchase-portal"},{"title":"Promotion Portal","description":"Capture leads and distribute unique promotion codes directly from your website.","icon":"tag","href":"/configuration/portals/promotion-portal"}]},{"group":"Users \u0026 Admin","pages":[{"title":"Users","icon":"circle-user","href":"/configuration/users-and-admin/users"},{"title":"Email Reports and Alerts","icon":"envelope","href":"/configuration/users-and-admin/email-alerts"},{"title":"Roles","icon":"user-shield","href":"/configuration/users-and-admin/roles"},{"title":"Employees","icon":"users","href":"/configuration/users-and-admin/employees"},{"title":"Guide to the Flexwash Admin Site","icon":"magnifying-glass-arrows-rotate","href":"/configuration/users-and-admin/admin-guide"},{"title":"Car Wash Config","icon":"car-on","href":"/configuration/users-and-admin/car-wash-config"},{"title":"Time Clock","icon":"clock","href":"/configuration/users-and-admin/time-clock"}]},{"group":"Fleets","pages":[{"title":"Overview","icon":"people-group","href":"/configuration/fleets/overview"},{"title":"Tender to Fleet","icon":"file-invoice-dollar","href":"/configuration/fleets/tender-to-fleet"},{"title":"Fleet Invoices","icon":"file-invoice","href":"/configuration/fleets/fleet-invoices"},{"title":"Discounted Unlimiteds","icon":"infinity","href":"/configuration/fleets/discounted-unlimiteds"},{"title":"Pre-Sold Wash Bundles","icon":"ticket","href":"/configuration/fleets/pre-sold-wash-bundles"}]}]},{"tab":"Data Import","pages":[{"title":"Data Import","href":"/data-import/non-member-imports"}]},{"tab":"Marketing \u0026 AI","pages":[{"title":"Marketing \u0026 AI","href":"/marketing-and-ai/flex-engage/overview"}]},{"tab":"Technical","pages":[{"title":"Technical","href":"/technical/hardware/site"}]},{"tab":"Industry Glossary","pages":[{"title":"Industry Glossary","href":"/glossary/overview"}]}]},"basePath":"","title":"Purchase Portal - FlexWash Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BUkqX3JF.js","lightbox-handle-r17bVUz3.js"]}