reactjs-lightbox
v1.0.1
Published
PaySky Payment Integration
Downloads
4
Readme
Moamalat Documentation
Installation
To install the Moamalat package, use the following npm command:
npm install reactjs-lightbox
Usage
To use Moamalat in your ReactJS project, follow these steps:
- Import the Moamalat component into your React component:
import Moamalat from 'reactjs-lightbox';
- Use the Moamalat component in your render method:
<Moamalat
amount={100.5}
TID={123456}
MID={7890}
transactionReference="ABC123"
secretKey={54321}
dateTime={1625278085000}
/>
In the above code snippet, you can customize the props according to your requirements. The available props for the Moamalat component are:
amount
(number, required): The amount for the transaction. It can be a float or an integer.TID
(number, required): The terminal ID for the transaction.MID
(number, required): The merchant ID for the transaction.transactionReference
(string, optional): The transaction reference for the transaction. It can be alphanumeric.secretKey
(number, required): The secret key for the transaction.dateTime
(number, required): The date and time of the transaction. It should be in numeric format.
API Reference
The Moamalat component accepts the following props:
amount
(number, required): The amount for the transaction. It can be a float or an integer.TID
(number, required): The terminal ID for the transaction.MID
(number, required): The merchant ID for the transaction.transactionReference
(string, optional): The transaction reference for the transaction. It can be alphanumeric.secretKey
(number, required): The secret key for the transaction.dateTime
(number, required): The date and time of the transaction. It should be in numeric format.
Version History
- 1.0.0 (current version)
- Initial release of Moamalat package.
Support
For documentation, FAQs, and support, please visit the Moamalat GitHub repository.
License
Moamalat is released under the MIT License.