0.6.0 (2023-06-20)
Features
- compatibility:
- Add receipt_ipaddress and user_agent in stripe compatibility (#1417) (
de2a6e8
) by @Abhicodes-crypto - Wallet support compatibility layer (#1214) (
3e64321
) by @Sarthak1799
- Add receipt_ipaddress and user_agent in stripe compatibility (#1417) (
- connector:
- [Noon] Add Card Payments, Capture, Void and Refund (#1207) (
2761036
) by @SamraatBansal - [Noon] Add Card Mandates and Webhooks Support (#1243) (
ba8a17d
) by @SamraatBansal - [Noon] Add reference id in Order Struct (#1371) (
f0cd5ee
) by @SamraatBansal - [Zen] add apple pay redirect flow support for zen connector (#1383) (
b3b16fc
) by @ArjunKarthik - Mask pii information in connector request and response for stripe, bluesnap, checkout, zen (#1435) (
5535159
) by @ArjunKarthik - Add request & response logs for top 4 connector (#1427) (
1e61f39
) by @NishantJoshi00 - [Noon] Add GooglePay, ApplePay, PayPal Support (#1450) (
8ebcc1c
) by @SamraatBansal - [Zen] add google pay redirect flow support (#1454) (
3a225b2
) by @SamraatBansal
- [Noon] Add Card Payments, Capture, Void and Refund (#1207) (
- core: Add signature to outgoing webhooks (#1249) (
3534cac
) by @ShankarSinghC - db:
- Implement
RefundInterface
forMockDb
(#1277) (10691c5
) by @younes-io - Implement
DisputeInterface
forMockDb
(#1345) (e5e39a7
) by @Exosyz - Implement
LockerMockInterface
forMockDb
(#1347) (1322aa7
) by @Exosyz - Implement
MerchantConnectorAccountInterface
forMockDb
(#1248) (b002c97
) by @jeevaprakashdr - Implement
MandateInterface
forMockDb
(#1387) (2555c37
) by @nachiketkanore
- Implement
- headers: Add optional header masking feature to outbound request (#1320) (
fc6acd0
) by @NishantJoshi00 - kms: Reduce redundant kms calls (#1264) (
71a17c6
) by @NishantJoshi00 - logging: Logging the request payload during
BeginRequest
(#1247) (253eead
) by @NishantJoshi00 - metrics:
- Add flow-specific metrics (#1259) (
5e90a36
) by @Sangamesh26 - Add response metrics (#1263) (
4ebd26f
) by @NishantJoshi00
- Add flow-specific metrics (#1259) (
- order_details: Adding order_details both inside and outside of metadata, in payments request, for backward compatibility (#1344) (
913b833
) by @rishavkar - payment: Customer ip field inclusion (#1370) (
11a827a
) by @prajjwalkumar17 - response-log:
- Add logging to the response (#1433) (
96c5efe
) by @NishantJoshi00 - Add logging to the response for stripe compatibility layer (#1470) (
96c71e1
) by @ShankarSinghC
- Add logging to the response (#1433) (
- router:
- Implement
CardsInfoInterface
forMockDB
(#1262) (cbff605
) by @derekleverenz - Add mandate connector to payment data (#1392) (
7933e98
) by @vspecky - [Bluesnap] add kount frms session_id support for bluesnap connector (#1403) (
fbaecdc
) by @ArjunKarthik - Add caching for MerchantKeyStore (#1409) (
fda3fb4
) by @NavinShrinivas
- Implement
- Use subscriber client for subscription in pubsub (#1297) (
864d855
) by @dracarys18 - Encrypt PII fields before saving it in the database (#1043) (
fa392c4
) by @dracarys18 - Add error type for empty connector list (#1363) (
b2da920
) by @Narayanbhat166 - Add new error response for 403 (#1330) (
49d5ad7
) by @ThisIsMani - Applepay through trustpay (#1422) (
8032e02
) by @Sangamesh26
Bug Fixes
- api_models: Fix bank namings (#1315) (
a8f2494
) by @ArjunKarthik - config: Fix docker compose local setup (#1372) (
d21fcc7
) by @lsampras - connector:
- [Authorizedotnet] Fix webhooks (#1261) (
776c833
) by @srujanchikke - [Checkout] Fix error message in error handling (#1221) (
22b2fa3
) by @prasunna09 - [coinbase] remove non-mandatory fields (#1252) (
bfd7dad
) by @arvindpatel24 - [Rapyd] Fix payment response structure (#1258) (
3af3a3c
) by @ShankarSinghC - [Adyen] Address Internal Server Error when calling PSync without redirection (#1311) (
b966525
) by @pixincreate - [opennode] webhook url fix (#1364) (
e484193
) by @arvindpatel24 - [Zen] fix additional base url required for Zen apple pay checkout integration (#1394) (
7955007
) by @ArjunKarthik - [Bluesnap] Throw proper error message for redirection scenario (#1367) (
4a8de77
) by @srujanchikke - [coinbase][opennode][bitpay] handle error response (#1406) (
301c3dc
) by @arvindpatel24 - [Zen][ACI] Error handling and Mapping (#1436) (
8a4f4a4
) by @SamraatBansal - [Bluesnap] fix expiry year (#1426) (
92c8222
) by @prasunna09 - [Shift4]Add Refund webhooks (#1307) (
1691bea
) by @srujanchikke - [Shift4] validate pretask for threeds cards (#1428) (
2c1dcff
) by @srujanchikke - Fix trustpay error response for transaction status api (#1445) (
7db94a6
) by @ArjunKarthik - Fix for sending refund_amount in connectors refund request (#1278) (
016857f
) by @ArjunKarthik - Use reference as payment_id in trustpay (#1444) (
3645c49
) by @Abhicodes-crypto - Implement ConnectorErrorExt for error_stack::Result<T, ConnectorError> (#1382) (
3ef1d29
) by @Abhicodes-crypto - [Adyen] fix charged status for Auto capture payment (#1462) (
6c818ef
) by @ArjunKarthik - [Adyen] fix unit test (#1469) (
6e581c6
) by @prasunna09 - [Airwallex] Fix refunds (#1468) (
1b2841b
) by @ShankarSinghC - [Zen] Convert the amount to base denomination in order_details (#1477) (
7ca62d3
) by @SamraatBansal - [Shift4] Fix incorrect deserialization of webhook event type (#1463) (
b44f35d
) by @srujanchikke - [Trustpay] add missing failure status (#1485) (
ecf16b0
) by @sai-harsha-vardhan - [Trustpay] add reason to all the error responses (#1482) (
1d216db
) by @sai-harsha-vardhan
- [Authorizedotnet] Fix webhooks (#1261) (
- core:
- Remove
missing_required_field_error
being thrown inshould_add_task_to_process_tracker
function (#1239) (3857d06
) by @Narayanbhat166 - Return an empty array when the customer does not have any payment methods (#1431) (
6563587
) by @ShankarSinghC - Fix amount capturable in payments response (#1437) (
5bc1aab
) by @prasunna09 - Save payment_method_type when creating a record in the payment_method table (#1378) (
76cb15e
) by @pixincreate - Add validation for card expiry month, expiry year and card cvc (#1416) (
c40617a
) by @prasunna09
- Remove
- currency: Add RON and TRY currencies (#1455) (
495a98f
) by @dracarys18 - error: Propagate MissingRequiredFields api_error (#1244) (
798881a
) by @Chethan-rao - kms: Add metrics to external_services kms (#1237) (
28f0d1f
) by @NishantJoshi00 - list: Add mandate type in payment_method_list (#1238) (
9341191
) by @NishantJoshi00 - locker: Remove unnecessary assertions for locker_id on BasiliskLocker when saving cards (#1337) (
23458bc
) by @ShankarSinghC - logging: Fix traces export through opentelemetry (#1355) (
b2b9dc0
) by @ashokkjag - payments: Do not delete client secret on payment failure (#1226) (
c1b631b
) by @Abhicodes-crypto - refund: Change amount to refund_amount (#1268) (
24c3a42
) by @arvindpatel24 - router:
- Subscriber return type (#1292) (
55bb117
) by @dracarys18 - Hotfixes for stripe webhook event mapping and reference id retrieval (#1368) (
5c2232b
) by @vspecky - [Trustpay] fix email & user-agent information as mandatory fields in trustpay card payment request (#1414) (
7ef011a
) by @ArjunKarthik - [Trustpay] fix email & user-agent information as mandatory fields in trustpay card payment request (#1418) (
c596d12
) by @ArjunKarthik - Fix payment status updation for 2xx error responses (#1457) (
a7ac4af
) by @sai-harsha-vardhan
- Subscriber return type (#1292) (
- router/webhooks:
- session_token: Log error only when it occurs (#1136) (
ebf3de4
) by @Abhicodes-crypto - stripe: Fix logs on stripe connector integration (#1448) (
c42b436
) by @NishantJoshi00 - Remove multiple call to locker (#1230) (
b3c6b1f
) by @Sangamesh26 - Populate meta_data in payment_intent (#1240) (
1ac3eb0
) by @SamraatBansal - Merchant webhook config should be looked up in config table instead of redis (#1241) (
48e5375
) by @hrithikesh026 - Invalidation of in-memory cache (#1270) (
e78b3a6
) by @dracarys18 - Customer id is not mandatory during confirm (#1317) (
1261791
) by @Narayanbhat166 - Certificate decode failed when creating the session token for applepay (#1385) (
8497c55
) by @Narayanbhat166 - Update customer data if passed in payments (#1402) (
86f679a
) by @Narayanbhat166 - Fix some fields not being updated during payments create, update and confirm (#1451) (
1764085
) by @hrithikesh026
Refactors
- api_models: Follow naming convention for wallets & paylater payment method data enums (#1338) (
6c0d136
) by @ArjunKarthik - auth_type: Updated auth type in
update tracker
and also changed the default flow tonon-3ds
from3ds
(#1424) (1616051
) by @Aprabhat19 - compatibility: Map connector to routing in payments request for backward compatibility (#1339) (
166688a
) by @Abhicodes-crypto - compatibility, connector: Add holder name and change trust pay merchant_ref id to payment_id (
d091549
) by @Abhicodes-crypto - configs: Make kms module and KmsDecrypt pub (#1274) (
f0db993
) by @Abhicodes-crypto - connector:
- Update error handling for Nexinets, Cybersource (#1151) (
2ede8ad
) by @srujanchikke - [Zen] refactor connector_meta_data for zen connector applepay session data (#1390) (
0575b26
) by @ArjunKarthik
- Update error handling for Nexinets, Cybersource (#1151) (
- connector_customer: Incorrect mapping of connector customer (#1275) (
ebdfde7
) by @Narayanbhat166 - core:
- Generate response hash key if not specified in create merchant account request (#1232) (
7b74cab
) by @ShankarSinghC - Add 'redirect_response' field to CompleteAuthorizeData (#1222) (
77e60c8
) by @srujanchikke - Use HMAC-SHA512 to calculate payments response hash (#1302) (
7032ea8
) by @ShankarSinghC - Accept customer data in customer object (#1447) (
cff1ce6
) by @Narayanbhat166 - Move update trackers after build request (#1472) (
6114fb6
) by @Narayanbhat166 - Update trackers for preprocessing steps (#1481) (
8fffc16
) by @Narayanbhat166
- Generate response hash key if not specified in create merchant account request (#1232) (
- disputes: Resolve incorrect 5xx error mappings for disputes (#1360) (
c9b400e
) by @Abhicodes-crypto - errors:
- Remove RedisErrorExt (#1389) (
5d51505
) by @Abhicodes-crypto - Refactor
actix_web::ResponseError
forApiErrorResponse
(#1362) (02a3ce7
) by @Abhicodes-crypto
- Remove RedisErrorExt (#1389) (
- fix:
- [Stripe] Fix bug in Stripe (#1412) (
e48202e
) by @AkshayaFoiger - [Adyen] Fix bug in Adyen (#1375) (
d3a6906
) by @swangi-kumari
- [Stripe] Fix bug in Stripe (#1412) (
- mca: Use separate struct for connector metadata (#1465) (
8d20578
) by @Narayanbhat166 - payments:
- Attempt to address unintended 5xx and 4xx in payments (#1376) (
cf64862
) by @Abhicodes-crypto - Add udf field and remove refactor metadata (#1466) (
6419953
) by @Abhicodes-crypto
- Attempt to address unintended 5xx and 4xx in payments (#1376) (
- process_tracker: Attempt to identify unintended 5xx in process_tracker (#1359) (
d8adf4c
) by @Abhicodes-crypto - router:
- Router_parameters field inclusion (#1251) (
16cd325
) by @prajjwalkumar17 - Remove
pii-encryption-script
feature and use of timestamps for decryption (#1350) (9f2832f
) by @SanchithHegde - Infer ip address for online mandates from request headers if absent (#1419) (
a1a009d
) by @vspecky - Send 200 response for 5xx status codes received from connector (#1440) (
1e5d2a2
) by @sai-harsha-vardhan
- Router_parameters field inclusion (#1251) (
- webhook: Added the unknown field to the webhook_event_status of every connector (#1343) (
65d4a95
) by @Aprabhat19 - Make NextAction as enum (#1234) (
a359b76
) by @Sangamesh26 - Make bank names optional in payment method data (#1483) (
8198559
) by @Narayanbhat166
Testing
- connector:
- [Stripe] Fix redirection UI tests (#1215) (
ea6bce6
) by @Sangamesh26 - [Globalpay] Fix unit tests (#1217) (
71c0d4c
) by @srujanchikke
- [Stripe] Fix redirection UI tests (#1215) (
- postman-collection: Add Github action to run postman collection (#1272) (
92c7767
) by @shubhanshu-mani - selenium: Read config from
CONNECTOR_AUTH_FILE_PATH
environment variable and fix bugs in UI tests (#1225) (d9a16ed
) by @jagan-jaya
Documentation
- CONTRIBUTING: Update commit guidelines (#1351) (
5d8895c
) by @lsampras - Add changelog to 0.5.15 (#1216) (
0be900d
) by @dracarys18 - Add
ApplePayRedirectionData
to OpenAPI schema (#1386) (d0d3254
) by @Narayanbhat166
Miscellaneous Tasks
- common_utils: Apply the new type pattern for phone numbers (#1286) (
98e73e2
) by @vlad-onis - config:
- Add bank config for online_banking_poland, online_banking_slovakia (#1220) (
ee5466a
) by @ArjunKarthik - Add bank config for przelewy24 (#1460) (
3ee97cd
) by @srujanchikke
- Add bank config for online_banking_poland, online_banking_slovakia (#1220) (
- migrations: Shrink
merchant_id
column ofmerchant_key_store
to 64 characters (#1476) (0fdd6ec
) by @SanchithHegde - Address Rust 1.70 clippy lints (#1334) (
b681f78
) by @SanchithHegde
Build System / Dependencies
- deps:
- Bump
diesel
from2.0.3
to2.1.0
(#1287) (b9ec38a
) by @SanchithHegde - Update dependencies (#1342) (
bce01ce
) by @SanchithHegde
- Bump
- docker: Use
debian:bookworm-slim
as base image for builder and runner stages (#1473) (5eb0333
) by @SanchithHegde - Unify
sandbox
andproduction
cargo features asrelease
(#1356) (695d3cd
) by @SanchithHegde
Full Changelog: v0.5.15...v0.6.0