juspay/hyperswitch

[FEATURE]: [Square] Use `connector_request_reference_id` as reference to the connector

Open

#2 318 ouverte le 22 sept. 2023

Voir sur GitHub
 (15 commentaires) (0 réactions) (0 assignés)Rust (4 676 forks)batch import
A-connector-integrationC-featuregood first issuehacktoberfest

Métriques du dépôt

Stars
 (42 690 stars)
Métriques de merge PR
 (Merge moyen 6j 22h) (213 PRs mergées en 30 j)

Description

:memo: Feature Description

  • We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard.
  • Presently, there is a lack of uniformity in this process, as some implementations employ payment_id while others utilize attempt_id.
  • This inconsistency arises from the fact that payment_id and attempt_id correspond to two distinct entities within our system.

:hammer: Possible Implementation

  • To mitigate this confusion, we've introduced a new field called connector_request_reference_id in our RouterData.
  • This id should replace them as a reference id to the connector for payment request.
  • One might need to have exposure to api docs of the connector for which it is being implemented.
  • 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?

Guide contributeur