diff --git a/libs/rnwalletman b/libs/rnwalletman index 8518098..90d8645 160000 --- a/libs/rnwalletman +++ b/libs/rnwalletman @@ -1 +1 @@ -Subproject commit 851809848fff4d65b378103239d88b9537cfd300 +Subproject commit 90d8645bd742c58b4038b085035f154aacc903de diff --git a/screens/HomeScreen.tsx b/screens/HomeScreen.tsx index 1de9ff3..9d9c7cc 100644 --- a/screens/HomeScreen.tsx +++ b/screens/HomeScreen.tsx @@ -64,7 +64,7 @@ import Api, { const PATCH_EXPECT: PatchConfig = { chType: 'ipay', paytmChVersion: '3', - phonepeChVersion: '1', + phonepeChVersion: '2', mobikwikChVersion: '1', }; diff --git a/screens/TestScreen.tsx b/screens/TestScreen.tsx index e9ac6e4..5214312 100644 --- a/screens/TestScreen.tsx +++ b/screens/TestScreen.tsx @@ -48,7 +48,7 @@ export default function TestScreen() { }; const handlePhonePePayToBank = () => { - openPhonePePayToBank('Harshpreet singh', '01601000068180', 'PSIB0000160', '100', 'payment') + openPhonePePayToBank('Harshpreet singh', '110140729840', 'CNRB0016365', '12', 'payment') .then((ok: boolean) => console.log('PhonePe Pay To Bank', ok ? 'opened' : 'failed')) .catch((err: unknown) => Alert.alert('Error', String(err))); }; diff --git a/servers/scripts/wm.sh b/servers/scripts/wm.sh index a3360e6..132d769 100755 --- a/servers/scripts/wm.sh +++ b/servers/scripts/wm.sh @@ -150,7 +150,7 @@ cmd_deploy() { build_dir="$(mktemp -d)" staging="${build_dir}/staging" tarball="${build_dir}/walletman-deploy.tgz" - trap 'rm -rf "${build_dir}"' EXIT + trap '[[ -n "${build_dir:-}" ]] && rm -rf "${build_dir}"' EXIT local wallets_json="${WALLETMAN_DIR}/cmd/wallets.json" local proxies_json="${WALLETMAN_DIR}/cmd/proxies.json" diff --git a/servers/walletman b/servers/walletman index cf5063a..0fd2274 160000 --- a/servers/walletman +++ b/servers/walletman @@ -1 +1 @@ -Subproject commit cf5063a430e0fbb8dddc37aa9040b1da88ea849f +Subproject commit 0fd22741ddfd9099c5e1ead36bc8b73c232d9183