simplepay-client-sdk-vue
v1.0.52
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 (optio
Downloads
11
Readme
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) });