juspay/hyperswitch

[REFACTOR] : [Payme] Error Message For Connector Implementation

Open

#2,857 创建于 2023年11月13日

在 GitHub 查看
 (12 评论) (0 反应) (1 负责人)Rust (4,676 fork)batch import
A-connector-integrationC-refactorgood first issuehelp wanted

仓库指标

Star
 (42,690 star)
PR 合并指标
 (平均合并 6天 22小时) (30 天内合并 213 个 PR)

描述

:memo: Feature Description

  • In terms of errors, we are currently throwing a 'not supported' message, which shouldn't be the case as we are yet to decide on the implementation.

:hammer: Possible Implementation

  • In order to manage payment methods that are not implemented by Hyperswitch or yet to be implemented, the connector transformers file should make use of the NotImplemented ConnectorError enum variant.
  • By doing so, we will throw same error message for all the Connector Implementation
  • You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2831

:bookmark: Note: All the changes needed should be contained within hyperswitch/crates/router/src/connector/

:package: Have you spent some time checking if this feature request has been raised before?

  • I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

:sparkles: Are you willing to submit a PR?

贡献者指南