Skip to content

Conversation

amaan14999
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

…as reference to the connector

Introduces the connector_request_reference_id field in the RouterData structure to improve consistency in transmitting payment information to the GlobalPayments payment gateway. This new ID will replace the usage of payment_id and attempt_id, aligning with the GlobalPayments API requirements for referencing payments.

This change ensures that all payment requests to GlobalPayments use a unified reference ID, reducing potential confusion and streamlining the integration process.

Fixes juspay#2300
@amaan14999 amaan14999 requested a review from a team as a code owner October 10, 2023 05:28
@prasunna09 prasunna09 added A-connector-integration Area: Connector integration C-feature Category: Feature request or enhancement S-waiting-on-review Status: This PR has been implemented and needs to be reviewed hacktoberfest Issues that are up for grabs for Hacktoberfest participants labels Oct 10, 2023
Copy link
Contributor

@srujanchikke srujanchikke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@prasunna09 prasunna09 added S-waiting-on-approval Status: Review completed, awaiting for approvals from code-owners and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Oct 10, 2023
@ArjunKarthik ArjunKarthik added hacktoberfest-accepted Pull requests accepted as Hacktoberfest contributions and removed S-waiting-on-approval Status: Review completed, awaiting for approvals from code-owners labels Oct 10, 2023
@ArjunKarthik
Copy link
Contributor

@amaan14999 Thanks for the PR

@ArjunKarthik ArjunKarthik added this pull request to the merge queue Oct 10, 2023
Merged via the queue into juspay:main with commit 116139b Oct 10, 2023
@VedantKhairnar
Copy link
Contributor

Hey @amaan14999 👋,
Thanks a bunch for all your contributions! We've got a little something for you to show our appreciation.
Just take a moment to fill out this form, and get ready for some awesome swag coming your way.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-connector-integration Area: Connector integration C-feature Category: Feature request or enhancement hacktoberfest Issues that are up for grabs for Hacktoberfest participants hacktoberfest-accepted Pull requests accepted as Hacktoberfest contributions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]: [GlobalPayments] Use connector_request_reference_id as reference to the connector
5 participants