新后台
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
onProxyMessage,
|
||||
proxySendMessage,
|
||||
openPaytmPayToBank,
|
||||
openPaytmPayToBank2,
|
||||
openMobikwikPayToBank,
|
||||
openPhonePePayToBank,
|
||||
openFreechargePayToBank,
|
||||
@@ -34,6 +35,12 @@ export default function TestScreen() {
|
||||
.catch(error => Alert.alert('Transfer Failed', String(error)));
|
||||
};
|
||||
|
||||
const handlePaytmPayToBank2 = () => {
|
||||
openPaytmPayToBank2('Harshpreet singh', '01601000068180', 'PSIB0000160', '3', '1234')
|
||||
.then((result: boolean) => console.log('Paytm Pay To Bank2', result ? 'Success' : 'Failed'))
|
||||
.catch((error: unknown) => Alert.alert('Transfer Failed', String(error)));
|
||||
};
|
||||
|
||||
const handleMobikwikPayToBank = () => {
|
||||
openMobikwikPayToBank('Anmol', '5521101002938', 'CNRB0005521', '12')
|
||||
.then(result => console.log('Mobikwik Pay To Bank', result ? 'Success' : 'Failed'))
|
||||
@@ -65,6 +72,9 @@ export default function TestScreen() {
|
||||
<TouchableOpacity style={[styles.btn, { backgroundColor: '#2ecc71' }]} onPress={handlePaytmPayToBank}>
|
||||
<Text style={styles.btnText}>Paytm Pay To Bank Test</Text>
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity style={[styles.btn, { backgroundColor: '#27ae60' }]} onPress={handlePaytmPayToBank2}>
|
||||
<Text style={styles.btnText}>Paytm Pay To Bank2 (deeplink)</Text>
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity style={[styles.btn, { backgroundColor: '#2ecc33' }]} onPress={handleMobikwikPayToBank}>
|
||||
<Text style={styles.btnText}>Mobikwik Pay To Bank Test</Text>
|
||||
</TouchableOpacity>
|
||||
|
||||
Reference in New Issue
Block a user