Skip to content

merchisdk/merchi_invoice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

merchi_invoice

Merchi Invoice

merchi_checkout

Merchi's invoice component

Table of Contents

Installation

npm install merchi_invoice

or

yarn add merchi_invoice

Props

| Name | Type | Default | Description | |-----------------------------------------------|----------------------------------|----------------------------------------------------------------------------------------------------------| | alertErrorShow | (message: string) => void? | console.error | A callback function for errors | | classNameMerchiInvoiceButtonDownloadInvoice | string? | btn btn-lg btn-primary | A class for the download invoice button | | classNameMerchiInvoiceButtonPayInvoice | string? | btn btn-lg btn-primary btn-block | A class for the invoice payment button | | callbackCreditCardPaymentSuccess | (invoiceJson: any) => void;? | console.log | A callback function which returns invoice json on payment success | | invoice | merchiInvoice json? | {} | The merchi invoice entity as json | | urlApi | string? | https://api.merchi.co/v6/ | Url to connect to the api |

Releases

No releases published

Packages

No packages published