57 Commits

Author SHA1 Message Date
7025b789b8 feat: add organization_id to merchant account (#1611) 2023-07-14 07:20:21 +00:00
a6645bd354 fix: store and retrieve merchant secret from MCA table for webhooks source verification (#1331)
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
2023-07-14 06:43:33 +00:00
c0e1d4d3b0 refactor(enums): move enums from storage_models and api_models crates to common_enums crate (#1265) 2023-07-13 12:12:14 +00:00
5a0e8be8c4 refactor(storage): update crate name to diesel models (#1685) 2023-07-12 12:50:55 +00:00
e750a73323 fix(router): use Connector enum for connector_name field in MerchantConnectorCreate (#1637) 2023-07-07 13:01:21 +00:00
d321aa1f72 feat: fetch merchant key store only once per session (#1400)
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
2023-06-22 09:10:28 +00:00
8d2057844e refactor(mca): use separate struct for connector metadata (#1465) 2023-06-17 15:02:13 +00:00
8497c55283 fix: certificate decode failed when creating the session token for applepay (#1385) 2023-06-09 09:32:17 +00:00
7032ea8494 refactor(core): use HMAC-SHA512 to calculate payments response hash (#1302) 2023-05-31 07:51:39 +00:00
fa392c40a8 feat: encrypt PII fields before saving it in the database (#1043)
Co-authored-by: Nishant Joshi <nishant.joshi@juspay.in>
2023-05-30 08:13:17 +00:00
4ebd26f27e feat(metrics): add response metrics (#1263) 2023-05-25 09:34:13 +00:00
7b74cab385 refactor(core): generate response hash key if not specified in create merchant account request (#1232) 2023-05-23 09:08:15 +00:00
ea98145318 feat(frm_routing_algorithm): added frm_routing_algorithm to merchant_account table, to be consumed for frm selection (#1161) 2023-05-17 07:52:00 +00:00
f481abb855 revert: refactor(merchant_account): add back api_key field for backward compatibility (#761) (#1062) 2023-05-10 14:32:06 +00:00
5214e22f20 refactor(router): add id field in MerchantConnectorAccountNotFound (#1098) 2023-05-10 11:56:45 +00:00
b3772f8ef1 refactor(router): add the connector_label field to DuplicateMerchantConnectorAccount error message (#1044) 2023-05-04 13:58:37 +00:00
03a96432a9 feat: expire client secret after a merchant configurable intent fufliment time (#956) 2023-05-03 10:38:13 +00:00
2cff019a1b refactor: use CountryAlpha2 instead of CountryCode for country codes (#904) 2023-05-03 08:16:41 +00:00
c31b4b41c2 fix: fix internal server errors on merchant connector account creation (#1026) 2023-05-02 21:02:20 +00:00
b4020294cc refactor(storage_models, errors): impl StorageErrorExt for error_stack::Result<T, errors::StorageError> (#886) 2023-04-17 18:31:13 +00:00
bc38bc47d8 Frm integration with hyperswitch (#857)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Co-authored-by: SamraatBansal <55536657+SamraatBansal@users.noreply.github.com>
2023-04-17 18:28:31 +00:00
396d24fe05 fix(merchant_account): change primary_business_details to vec in update (#877) 2023-04-14 12:40:46 +05:30
cf902f19e5 feat(core): add backwards compatibility for multiple mca (#866) 2023-04-13 11:34:36 +00:00
6188d51579 feat: multiple connector account support for the same country (#816)
Co-authored-by: Manoj Ghorela <118727120+manoj-juspay@users.noreply.github.com>
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
2023-04-11 11:55:29 +00:00
41664e6690 Revert "added field frm_configs to MerchantConnectorAccount" (#848) 2023-04-10 18:51:17 +05:30
f26a632cdb added field frm_configs to MerchantConnectorAccount (#831)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
2023-04-06 11:42:20 +00:00
661dd48ae5 refactor(merchant_account): add back api_key field for backward compatibility (#761) 2023-03-17 15:30:20 +05:30
230fcdd4e1 chore(merchant_account): remove api_key field (#713) 2023-03-13 09:01:20 +00:00
9841519324 docs: Update naming conventions and added examples (#709)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
2023-03-06 11:23:32 +00:00
a2616d87b1 refactor(pm_list): modify pm list to support new api contract (#657)
Co-authored-by: Sangamesh <sangamesh.kulkarni@juspay.in>
2023-02-26 19:21:29 +00:00
301736fc25 refactor: Pass country and currency as json format in MCA (#656) 2023-02-26 12:48:57 +00:00
f3224cc4df chore: merging back release v0.3.0 back to main (#636) (#655)
Co-authored-by: Sangamesh Kulkarni <59434228+Sangamesh26@users.noreply.github.com>
Co-authored-by: ItsMeShashank <shashank.attarde@juspay.in>
Co-authored-by: Abhishek <abhishek.marrivagu@juspay.in>
Co-authored-by: Jagan <jaganelavarasan@gmail.com>
Co-authored-by: SamraatBansal <55536657+SamraatBansal@users.noreply.github.com>
Co-authored-by: Sampras Lopes <lsampras@protonmail.com>
2023-02-26 08:25:17 +00:00
d27e6be599 refactor: Pass country and currency as json format in MCA (#523) 2023-02-24 14:09:03 +00:00
1bdc8955c2 feat(router): implement API endpoints for managing API keys (#511) 2023-02-10 08:50:57 +00:00
763620fcc7 feat: add a kv switch route for merchants (#518) 2023-02-09 19:18:18 +05:30
ac30313ff1 refactor: use unique id for merchant_conenctor_id instead of int (#514) 2023-02-07 17:43:40 +05:30
a8132e1082 perf(router): remove redundant DB call during merchant account update (#482) 2023-02-02 16:18:00 +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
b5720f1e38 chore: address Rust 1.67 clippy lints (#465) 2023-01-27 12:29:57 +05:30
ef479e8186 fix: update test_mode and payment_methods_enabled in payments connector (#411) 2023-01-20 01:55:55 +05:30
b5ffff30df fix(router): metadata field update in merchant_account and merchant_connector_account (#359)
Co-authored-by: Abhishek Marrivagu <abhi.codes10@gmail.com>
2023-01-18 15:56:09 +05:30
4f6a8fcd9d refactor(router): make utilities public (#396) 2023-01-17 18:34:55 +05:30
be9889b47a chore: add .attach_printable for InternalServerError (#368) 2023-01-17 17:23:57 +05:30
22f32cd4d7 feat(router): add generic merchant static routing config (#362) 2023-01-17 13:04:54 +05:30
3cdf50c942 refactor: Replace Bach with Application on every naming (#292) 2023-01-10 18:07:32 +05:30
c807713a6f fix: Add locker_id in merchant account and sbx default locker (#276)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
2023-01-09 15:49:17 +05:30
8e008bcd45 chore: address/remove Jira tickets in code (#312) 2023-01-09 15:18:47 +05:30
c0bb1cc378 chore: rename orca to hyperswitch (#310) 2023-01-06 16:40:22 +05:30
c7c3f94a76 fix: merchant account update fix (#288) 2023-01-05 18:13:05 +05:30
e5ea411fb0 feat(admin): add payment_connector_list API (#160) 2022-12-15 19:43:44 +05:30