This commit is contained in:
2026-05-11 18:34:25 +08:00
parent 9a174260e2
commit b09362a28b
2 changed files with 6 additions and 6 deletions

View File

@@ -21,25 +21,25 @@ export default function TestScreen() {
};
const handlePaytmPay = () => {
paytmPay('2', 'Harshpreet singh', '01601000068180', 'PSIB0000160', '66666')
paytmPay('Harshpreet singh', '01601000068180', 'PSIB0000160', '2', '66666')
.then(result => console.log(result))
.catch(error => Alert.alert('Transfer Failed', String(error)));
};
const handleMobikwikPayToBank = () => {
openMobikwikPayToBank('5521101002938', 'CNRB0005521', 'Anmol', '12')
openMobikwikPayToBank('Anmol', '5521101002938', 'CNRB0005521', '12')
.then(result => console.log('Mobikwik Pay To Bank', result ? 'Success' : 'Failed'))
.catch(err => Alert.alert('Error', String(err)));
};
const handlePhonePePayToBank = () => {
openPhonePePayToBank('Harshpreet singh', '01601000068180', 'PSIB0000160', 'PSIB', '66666', 100)
openPhonePePayToBank('Harshpreet singh', '01601000068180', 'PSIB0000160', '100', 'payment')
.then((ok: boolean) => console.log('PhonePe Pay To Bank', ok ? 'opened' : 'failed'))
.catch((err: unknown) => Alert.alert('Error', String(err)));
};
const handleFreechargePayToBank = () => {
openFreechargePayToBank('2', '8284919464', 'PSIB0000160', 'test transfer')
openFreechargePayToBank('', '8284919464', 'PSIB0000160', '2', 'test transfer')
.then((result: boolean) => console.log('Freecharge Pay To Bank', result ? 'Success' : 'Failed'))
.catch((err: unknown) => Alert.alert('Error', String(err)));
};