Visit Demo payment page.
As NPM package
npm install --save-dev @simplepay-ai/widgetimport '@simplepay-ai/widget';Or include as script
<script
src="https://cdn.jsdelivr.net/npm/@simplepay-ai/widget@0.0.3/dist/widget.js"
type="module"
></script><payment-app
price="0.8"
appId="09476f0c-ed36-4dfe-84f4-ef2df1644830"
clientId="bf298925-2f45-492c-891d-f997aa7ac864"
backToStoreUrl="https://example.com"
serverUrl="https://example.com/invoice"
/>Run following command to format your code before commit:
npm run formatPackage uses Semantic Versioning. You should increment package version before publishing
If you introduce breaking changes, run:
npm version majorIf your changes is backward-compatible, run:
npm version minorIf you fixed a bug, run:
npm version patchgit push origin main --tagsNew release and package version will be created automatically