354 Commits

Author SHA1 Message Date
effa7a00e9 bugfix(router): api keys path params (#609) 2023-02-17 09:33:54 +00:00
8a8767e9cb fix: allow errors with status code 200 to pass (#601) 2023-02-17 06:54:30 +00:00
e6408276b5 refactor(router): api-key routes refactoring (#600) 2023-02-16 13:08:24 +00:00
55b6d88a59 fix(checkout): Error Response when wrong api key is passed (#596)
Co-authored-by: ItsMeShashank <shashank.attarde@juspay.in>
2023-02-16 13:01:45 +00:00
d107b44fd3 feat(api_models): add error structs (#532)
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
2023-02-16 09:19:14 +00:00
326d6bebe1 fix: don't call connector if connector transaction id doesn't exist (#525) 2023-02-15 10:06:56 +00:00
8d2e573a29 feat: add track_caller to functions that perform change_context (#592) 2023-02-15 08:58:07 +00:00
f1e3bf4895 refactor: Throw 500 error on database connection error instead of panic (#527) 2023-02-14 11:44:23 +00:00
aafb115acb fix: throw 500 error when redis goes down (#531) 2023-02-14 11:43:17 +00:00
eaf98e66bc refactor(router): appstate as trait in authentication (#588) 2023-02-14 07:00:08 +00:00
6c2a1fea9a refactor: send full payment object for payment sync (#526)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
2023-02-13 18:48:07 +00:00
4884a24daf refactor(middleware): change visibility to pub (#587) 2023-02-13 12:13:59 +00:00
e4956820fd fix(router): feature gate openssl deps for basilisk feature (#536) 2023-02-11 08:40:58 +00:00
ff347193fe Add a base struct for api error responses (#524)
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
2023-02-10 14:12:08 +00:00
1bdc8955c2 feat(router): implement API endpoints for managing API keys (#511) 2023-02-10 08:50:57 +00:00
903b452146 fix(core): use guard for access token result (#522) 2023-02-10 08:37:57 +00:00
963cb528f5 feat: Impelement redis cache for MCA fetch and update (#515) 2023-02-10 07:46:41 +00:00
f6eac13b21 feat(connector): add afterpay, klarna, affirm support in adyen connector (#516) 2023-02-10 02:37:09 +05:30
2310e12bf7 fix: fix the loader orientation on mobile (#521) 2023-02-10 01:53:22 +05:30
763620fcc7 feat: add a kv switch route for merchants (#518) 2023-02-09 19:18:18 +05:30
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