hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

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

Open swangi-kumari opened this issue 1 year ago • 4 comments

: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?

  • [X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

:sparkles: Are you willing to submit a PR?

swangi-kumari avatar Nov 13 '23 08:11 swangi-kumari

@swangi-kumari i would like to work on this issue

KekmaTime avatar Nov 16 '23 16:11 KekmaTime

Sure @KekmaTime , I have assigned this you. Let us know If you need any help.

VedantKhairnar avatar Nov 28 '23 08:11 VedantKhairnar

Hey @KekmaTime , Are you still working on this issue? Please let us know if you need any help.

swangi-kumari avatar Mar 13 '24 12:03 swangi-kumari

@swangi-kumari i just checked its already implemented

KekmaTime avatar Mar 30 '24 13:03 KekmaTime