334 Commits

Author SHA1 Message Date
3292960996 feat: add tick interval to drainer (#517) 2023-02-07 20:20:51 +05:30
ac30313ff1 refactor: use unique id for merchant_conenctor_id instead of int (#514) 2023-02-07 17:43:40 +05:30
8205b2278d fix: fix bugs found when testing drainer (#512) 2023-02-07 16:48:41 +05:30
2e98670aa7 feat: add timeout for set command on hashes and add function to allow retry in database (#509) 2023-02-07 16:28:39 +05:30
b4da08666a feat(db): add fetch and update cache for admin table (#508) 2023-02-07 16:10:54 +05:30
39524f95a9 fix(router): fix payment token null in payment update api response (#507) 2023-02-07 15:50:09 +05:30
3b7f59158d chore: use generic cache functions for config table (#506) 2023-02-07 15:26:28 +05:30
7666748922 fix: decide refund type by the request and not defaults (#505) 2023-02-07 14:57:39 +05:30
0239c422b6 feat: Add graceful shutdown in drainer (#498) 2023-02-07 12:44:24 +05:30
dfd1e5e254 fix(storage_models): fix inconsistent field order for merchant account types (#503) 2023-02-06 18:20:24 +05:30
feb228cee0 feat(generics): allow specifying optional offset and order clauses for generic_filter() (#502) 2023-02-06 17:53:37 +05:30
e4b525485e refactor: use generic function to push to drainer (#496) 2023-02-06 17:18:28 +05:30
9381a37f8f refactor: AppState trait for utility functions (#499) 2023-02-06 16:34:29 +05:30
a2921ff835 Rapyd webhook integration (#435) 2023-02-06 14:00:30 +05:30
4a820dcd7d feat: add metrics to drainer (#497) 2023-02-06 13:03:53 +05:30
888fb2bcce feat(cache): add generic cache functions to populate and invalidate cache (#483) 2023-02-03 19:35:41 +05:30
7d8f100037 feat: add logging functionality in drainer (#495) 2023-02-03 15:01:49 +05:30
6cbdcbf6bd fix: fix KV implementations for payments and refunds (#489) 2023-02-03 14:06:34 +05:30
aa58d3466b fix: don't panic in redis library on creating connection pool (#494) 2023-02-03 12:43:42 +05:30
0441d5cdde fix(refund): fix failing refund update with KV storage backend (#493) 2023-02-03 00:37:37 +05:30
2735405aba feat(config): add fetch endpoint for config table (#481) 2023-02-02 23:47:38 +05:30
9ec435e86e feat(consumer): add workflow_id field in traces for consumer tasks (#480) 2023-02-02 16:39:25 +05:30
a8132e1082 perf(router): remove redundant DB call during merchant account update (#482) 2023-02-02 16:18:00 +05:30
5c3c51fbd5 test(connector): add and update tests for stripe, cybersource and shift4 connectors (#485) 2023-02-01 14:25:39 +05:30
3dfd548cb8 docs: standardise error types and error codes (#432) 2023-01-31 16:46:51 +05:30
010aff5f4c feat(connector-template): add more default tests for card payment method (#471) 2023-01-31 16:22:32 +05:30
d1ab46238e build(deps): update deps (#479) 2023-01-31 15:21:34 +05:30
3cbd5f9816 fix(router): allow console logs for all first-party crates (#477) 2023-01-30 19:09:51 +05:30
24351a6c85 refactor(errors): error enums to use 'static str (#472) 2023-01-30 18:57:05 +05:30
fa7d087c0d feat(router): allow enabling/disabling of outgoing webhooks based on env configuration (#476) 2023-01-30 18:34:20 +05:30
39adbbc183 fix: add disable env flag for consumer (#475) 2023-01-30 17:48:58 +05:30
ec2f4ba257 doc: update openapi (#453)
Co-authored-by: Sangamesh <sangamesh.kulkarni@juspay.in>
Co-authored-by: dracarys18 <karthikey.hegde@juspay.in>
Co-authored-by: bernard eugine <bernard.eugine@bernard.eugine-MacBookPro>
Co-authored-by: Abhishek Marrivagu <abhi.codes10@gmail.com>
2023-01-30 16:56:37 +05:30
d3ef24e8e9 test(stripe): add unit tests for stripe connector (#473) 2023-01-30 15:29:27 +05:30
9e420d511d fix: fix bug when creating customer who is redacted (#466) 2023-01-27 17:56:29 +05:30
3381d207e2 fix(globalpay): fix globalpay error handling (#464) 2023-01-27 15:28:57 +05:30
b5720f1e38 chore: address Rust 1.67 clippy lints (#465) 2023-01-27 12:29:57 +05:30
351087fc7f feat(stripe): add support for afterpay clearpay through stripe (#441) 2023-01-25 21:13:21 +05:30
ecd0ca53b9 fix: payment_method_id not populated (#463) 2023-01-25 19:29:36 +05:30
9ae8b4e104 refactor(core): validate payment status using common function (#461) 2023-01-25 15:29:36 +05:30
d424b1cf3c fix: off-session must exist only if mandate is external (#460) 2023-01-24 23:01:18 +05:30
e9cbf3eed5 feat: Add crate attribute to operation macro (#459) 2023-01-24 13:15:31 +05:30
dd7eed16c4 fix: proper error message for payment confirm with already successful/failed payments (#456) 2023-01-23 16:34:11 +05:30
073ffb18bd fix(router): fix refund error code diesel field ordering (#458) 2023-01-23 12:12:55 +05:30
9fe8ebcf3c feat: add new hyperswitch loader (#455) 2023-01-23 00:36:32 +05:30
0ec3aea61d docs: fix quick start guide and update dashboard link (#454) 2023-01-23 00:16:23 +05:30
02ed4930da fix: update payment with PM and PMD gives requires_payment_method instead of requires_confirmation (#446) 2023-01-22 19:07:22 +05:30
2c764a273e chore(router): added generic unauthorized response (#450) 2023-01-22 18:07:19 +05:30
a447921c15 chore(router): removed jwt auth from routes (#448)
Co-authored-by: Sampras Lopes <lsampras@protonmail.com>
2023-01-22 16:39:29 +05:30
d32f076877 fix(adyen): fix capture_method not considered during payments sync (#444) 2023-01-22 15:24:32 +05:30
d653fed773 fix: move connector_refund_id to request (#445) 2023-01-22 13:41:11 +05:30