juspay/hyperswitch

[Features]: [Iatapay] Sync with Hyperswitch Reference

Open

#2,903 opened on Nov 17, 2023

View on GitHub
 (4 comments) (0 reactions) (1 assignee)Rust (42,690 stars) (4,676 forks)batch import
A-connector-integrationC-featuregood first issuehelp wanted

Description

:memo: Feature Description

  • In Hyperswitch, we retrieve transaction status in two ways:
  1. Using transaction_id which is generated by Connectors
  2. Using our reference_id which can be passed to Connectors during payment creation
  • If supported, the request for retrieving Payments and Refunds should use the Hyperswitch's reference_id. This would assist in obtaining the payment/refund status in the event we failed to get it due to timeout, connection failure, etc.

:hammer: Possible Implementation

  • If the connector supports retrieving payments and refunds using our reference_id i.e connector_request_reference_id , we should utilize this functionality instead of exclusively relying on the connector_transaction_id.
  • You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2052 :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?

Contributor guide