-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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): [Bitpay] Add order id as the reference id #2591
Conversation
@SanchithHegde Please do review and suggest changes if required |
@@ -138,7 +138,7 @@ impl<F, T> | |||
mandate_reference: None, | |||
connector_metadata: None, | |||
network_txn_id: None, | |||
connector_response_reference_id: None, | |||
connector_response_reference_id: Some(item.response.data.id), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
connector_response_reference_id: Some(item.response.data.id), | |
connector_response_reference_id: item.response.data.order_id.or(Some(connector_id)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ashh1215 |
Hey |
@deepanshu-iiitu |
Hey @ashh1215, |
@ashh1215, please run |
@deepanshu-iiitu I've fixed the issues. It should work now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge queue setting changed
There was a problem hiding this 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!
Thanks for the PR, @ashh1215!
Type of Change
Description
Relevant documentation
Additional Changes
Motivation and Context
Closes #2325
How did you test it?
Make any Payment for connector Bitpay and see that you are getting "reference_id" field in the payments response of hyperswitch. It should not be null.
Checklist
cargo +nightly fmt --all
cargo clippy