juspay/hyperswitch

[REFACTOR] Integrate the card expiration month/year and security code newtypes in request/response types

Open

#1,012 建立於 2023年4月27日

在 GitHub 查看
 (5 留言) (0 反應) (2 負責人)Rust (4,676 fork)batch import
A-frameworkC-refactorE-easyP-mediumgood first issuehelp wanted

倉庫指標

Star
 (42,690 star)
PR 合併指標
 (平均合併 6天 22小時) (30 天內合併 213 個 PR)

描述

Feature Description

Our API models (request/response types) need to be refactored to use the card security code and expiry month/year newtypes added in PR #874.

2 such locations in our codebase are:

https://github.com/juspay/hyperswitch/blob/897250ebc3ee57392aae7e2e926d8c635ac9fc4f/crates/api_models/src/payments.rs#L152

https://github.com/juspay/hyperswitch/blob/897250ebc3ee57392aae7e2e926d8c635ac9fc4f/crates/api_models/src/payment_methods.rs#L77-L83

In other types, the fields might be called cvc, cvv, expiry_month, expiry_year, exp_month, exp_year, etc.

For external contributors, clarify any questions you may have, and let us know that you're interested in picking this up. We'll assign this issue to you to reduce duplication of effort on the same task.

貢獻者指南