UNPKG

react-klasha

Version:

React hooks and components for accepting payments with the Klasha payment gateway

9 lines (8 loc) 330 B
/** * Constructs `window.KlashaClient` and opens the checkout. * * The argument order matches the shipped `pay.js` exactly. Nothing is logged — * 0.0.x printed the whole argument object, `merchantKey` included, to the * browser console. */ export declare const callKlashaClient: (klashaArgs: Record<string, any>) => void;