Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(connector): [Coinbase] Add order id as the reference id #2469

Merged
merged 2 commits into from
Oct 7, 2023

Conversation

Ceres445
Copy link
Contributor

@Ceres445 Ceres445 commented Oct 5, 2023

Type of Change

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

Description

Relevant documentation here. I'm not 100% sure what code is in the documentation but they haven't provided more clarity, the only other identifier for the transaction is id, so I've used that.

Additional Changes

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

Motivation and Context

Fixes #2326

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

@Ceres445 Ceres445 requested a review from a team as a code owner October 5, 2023 17:50
@@ -155,7 +155,7 @@ impl<F, T>
message: "Please check the transaction in coinbase dashboard and resolve manually"
.to_string(),
}),
connector_response_reference_id: None,
connector_response_reference_id: Some(item.response.data.id.clone()),
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @Ceres445 ,

clone is not required here .

@SanchithHegde SanchithHegde added A-connector-integration Area: Connector integration C-feature Category: Feature request or enhancement hacktoberfest Issues that are up for grabs for Hacktoberfest participants S-waiting-on-author Status: This PR is incomplete or needs to address review comments labels Oct 5, 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!

@srujanchikke srujanchikke added S-waiting-on-approval Status: Review completed, awaiting for approvals from code-owners and removed S-waiting-on-author Status: This PR is incomplete or needs to address review comments labels Oct 7, 2023
@ArjunKarthik
Copy link
Contributor

@Ceres445 Thanks for the PR

@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 7, 2023
@ArjunKarthik ArjunKarthik added this pull request to the merge queue Oct 7, 2023
Merged via the queue into juspay:main with commit 9c2fff5 Oct 7, 2023
10 checks passed
@swangi-kumari
Copy link
Contributor

Hey @Ceres445
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]: [Coinbase] Use connector_response_reference_id as reference to merchant
5 participants