Commit Graph

432 Commits

Author SHA1 Message Date
Florian Dold
8d72b93a17
fix refund URI parsing (due to merchant backend change) 2020-08-20 16:51:14 +05:30
Florian Dold
421e613f92
throttling diagnostics and request timeouts 2020-08-20 16:27:20 +05:30
Florian Dold
ddf9171c5b
add another test case for the merchant refund API 2020-08-20 14:56:22 +05:30
Florian Dold
a8fb16021d
handle withdrawals aborted by the bank, add test 2020-08-20 14:34:56 +05:30
Florian Dold
57000c2214
add auto-refund test case, fix bug detected by it 2020-08-20 11:59:06 +05:30
Florian Dold
7ff93d8ef6
match latest refund API of the merchant 2020-08-20 11:39:34 +05:30
Florian Dold
082498b20d
use /paid API for proof of purchase 2020-08-19 20:55:38 +05:30
Florian Dold
e2f7bc79cd
introduce locking to avoid certain simultaneous requests to the exchange 2020-08-18 18:23:06 +05:30
Florian Dold
e9864adf15
integration test fixes 2020-08-14 16:18:48 +05:30
Florian Dold
953cd9dc41
nuke some console.log statements, test wallet testing functionality in integration test 2020-08-14 15:53:50 +05:30
Florian Dold
e3850158c2
re-implement integration test functionalty that will be used by the exchange for testing 2020-08-14 13:06:42 +05:30
Florian Dold
d5f894690e
error codes 2020-08-14 00:19:20 +05:30
Florian Dold
599c8380f2
make withdrawal requests sequentially, clean up withdrawal logic a bit 2020-08-13 15:15:01 +05:30
Florian Dold
e9ed3b1867
integration test for paywall flow 2020-08-13 00:26:55 +05:30
Florian Dold
4891c4c7ce
logging 2020-08-12 21:11:54 +05:30
Florian Dold
c5ec341368
add exchange management test case 2020-08-12 19:45:34 +05:30
Florian Dold
11fa339705
fix preparePay bug and add integration test for it 2020-08-12 16:32:07 +05:30
Florian Dold
8d7b171d02
rename for consistency 2020-08-12 16:02:58 +05:30
Florian Dold
56f5a1e3ab
codec 2020-08-12 15:48:02 +05:30
Florian Dold
6d2d65bf63
dependencies 2020-08-12 14:07:54 +05:30
Florian Dold
f180d05804
remove excessive namespacing, format 2020-08-12 12:41:00 +05:30
Florian Dold
2e56a22f6b
refund response 2020-08-11 17:55:45 +05:30
Florian Dold
ff3f965661
towards the improved confirmPay API 2020-08-11 17:32:11 +05:30
Florian Dold
c2dcad8efe
fix preparePay API response 2020-08-10 20:05:41 +05:30
Florian Dold
66d76a3591
simplify refunds a bit, show in transaction history, add integration tests 2020-08-10 16:48:38 +05:30
Florian Dold
5f8714091a
use API extractor for cleaner package separation 2020-08-10 14:37:20 +05:30
Florian Dold
6990b3b5ec
remove accidentally committed declaration files 2020-08-10 12:09:52 +05:30
Florian Dold
3321e40bff
integration testing tweaks, rerun-payment-multiple scenario 2020-08-07 23:06:52 +05:30
Florian Dold
b3f0cf97e4
remove debug log 2020-08-06 22:17:16 +05:30
Florian Dold
82a2437c09
towards integration tests with fault injection 2020-08-06 00:30:36 +05:30
Florian Dold
a8f03d3dd1
dependencies / build tasks 2020-08-03 13:44:07 +05:30
Florian Dold
ffd2a62c3f
modularize repo, use pnpm, improve typechecking 2020-08-03 13:01:05 +05:30