Commit Graph

898 Commits

Author SHA1 Message Date
Florian Dold
8d0081b622
missing file 2020-09-02 12:25:01 +05:30
Florian Dold
659e9cdbe6
respect cache header 2020-09-02 12:23:11 +05:30
Florian Dold
0ffea74ad5
no more const enum, remove unused field 2020-09-02 11:21:42 +05:30
Florian Dold
38e6d51946
estimate refresh output, show correct(er) balance 2020-09-01 23:01:44 +05:30
Florian Dold
044b723657
correct refund amounts and better testing 2020-09-01 20:37:50 +05:30
Florian Dold
7f4ebca0c4
validation 2020-09-01 19:56:08 +05:30
Florian Dold
62406304d9
include error details in transactions list 2020-09-01 19:33:06 +05:30
Florian Dold
bb369f2e2a
auto-format 2020-09-01 19:07:14 +05:30
Florian Dold
8c33e05bf0
harmonized error codes 2020-09-01 18:27:22 +05:30
Florian Dold
5056da6548
test error handling 2020-09-01 18:00:51 +05:30
Florian Dold
5e7149f79e
fix exception thrown during logging, include stack trace 2020-09-01 15:52:13 +05:30
Florian Dold
5c0ee81e26
logging / do not crash on error 2020-08-28 22:05:35 +05:30
Florian Dold
7deefd5b2d
fix wallet DB 2020-08-24 20:00:15 +05:30
Florian Dold
0e88ef9bd2
implement fulfillment_message and make fulfillment_url optional 2020-08-24 19:39:09 +05:30
Florian Dold
b1fd7d09a6
test case for order claiming; more accurate EC 2020-08-24 11:52:12 +05:30
Florian Dold
1548086f50
make diagnostics, welcome page and permissions work again 2020-08-21 20:56:25 +05:30
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