Simple checkout page example.
yarn install
Start Parcel by running the following command:
yarn start
Build for importing with Sandpack:
yarn build
The built file dist/index.js
can be imported using a <script>
tag. It will inject a variable SafePayExampleProject
in the window
, so it can be imported as SandpackProvider
options
.