React native paynow generator
npm install react-native-paynow-generator
import generateQRCode from 'react-native-paynow-generator';
// ...
const qrCode = generateQRCode({
initiationMethod: '12',
referenceNumber: '123456',
merchantName: 'MerchantName',
amount: 25.99,
amountEditable: '0',
uen: '123456789A',
transactionCurrency: '702',
countryCode: 'SG',
merchantCity: 'Singapore',
uniqueIdentifier: 'SG.PAYNOW',
expiryDate: '20250101120000', // Optional, format: YYYYMMDD or YYYYMMDDHHMMSS
});
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library