simplepay-client-sdk-vue

1.0.52 • Public • Published

const product = { id: 'b8d806ea-8d22-48f1-a74b-71266e65affa', title: 'Title...', description: 'Description...',// (optional) img: 'Your product image url',// (optional) price: 0.01 // If the price of the product/service can vary (optional) }

const exampleProduct = new SimplePay.SimpleModal({ projectId: 'Your project ID in SimpleID', merchantId: 'Your merchant ID in SimpleID', url: 'Your server url', callerId: 'Id of element that triggers payment modal', product: product, maxPrice: 100,//serves to regulate the variable price (optional) minPrice: 25,//serves to regulate the variable price (optional) invoiceId: 'invoiceId', // if you have info about alredy existing invoice (optional) });

Dependents (0)

Package Sidebar

Install

npm i simplepay-client-sdk-vue

Weekly Downloads

1

Version

1.0.52

License

ISC

Unpacked Size

693 kB

Total Files

8

Last publish

Collaborators

  • ponomarenko_ill