1.0.1 • Published 2 years ago
danish-easypaisa-shop v1.0.1
Danish Easypaisa Shop Documentation
Installation
To install the Danish Easypaisa Shop package, use the following npm command:
npm install danish-easypaisa-shopUsage
To use Danish Easypaisa Shop in your ReactJS project, follow these steps:
- Import the Danish Easypaisa Shop component into your React component:
 
import Lightbox from 'danish-easypaisa-shop';- Use the Danish Easypaisa Shop component in your render method:
 
<Lightbox
    amount={100.5}
    TID={123456}
    MID={7890}
    transactionReference='ABC123'
    secretKey={54321}
    dateTime={1625278085000}
    errorCallback={handleCallBack}
/>In the above code snippet, you can customize the props according to your requirements. The available props for the Danish Easypaisa Shop 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.errorCallback(function): This callback will return errors if exists in props. Each error object will contain status and message.
API Reference
The Danish Easypaisa Shop 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 Danish Easypaisa Shop package.
 
 
Support
For documentation, FAQs, and support, please visit the Danish Easypaisa Shop GitHub repository(https://github.com/example/Danish Easypaisa Shop).
License
Danish Easypaisa Shop is released under the MIT License.