feat(connector): Add invoice number and email in AuthorizeDotNet connector#7726
Merged
likhinbopanna merged 7 commits intomainfrom Apr 9, 2025
Merged
feat(connector): Add invoice number and email in AuthorizeDotNet connector#7726likhinbopanna merged 7 commits intomainfrom
likhinbopanna merged 7 commits intomainfrom
Conversation
Changed Files
|
afd24d0 to
2845501
Compare
crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
Outdated
Show resolved
Hide resolved
| customer: None, | ||
| customer: Some(CustomerDetails { | ||
| id: if item.router_data.payment_id.len() <= 20 { | ||
| item.router_data.payment_id.clone() |
Contributor
There was a problem hiding this comment.
Why are we passing payment_id instead of customer.customer_id here ?
crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
Outdated
Show resolved
Hide resolved
| }), | ||
| profile: None, | ||
| order: Order { | ||
| invoice_number: if item.router_data.connector_request_reference_id.len() <= 20 { |
Contributor
There was a problem hiding this comment.
Can we remove this magic number(20), declare a constant
AkshayaFoiger
previously approved these changes
Apr 7, 2025
awasthi21
previously approved these changes
Apr 7, 2025
22db5fb
awasthi21
approved these changes
Apr 7, 2025
AkshayaFoiger
approved these changes
Apr 7, 2025
pixincreate
added a commit
that referenced
this pull request
Apr 10, 2025
…acilitapay-pix-pmt * 'main' of github.com:juspay/hyperswitch: (21 commits) chore(version): 2025.04.10.0 refactor(connector): [STRIPE] Remove sofort bank redirect from stripe (#7733) feat(connector): Add invoice number and email in AuthorizeDotNet connector (#7726) fix(router): fix retry_count and add validation for process_tracker (#7614) feat(payment_link): expose configurations for payment links (#7742) chore(version): 2025.04.09.0 chore(postman): update Postman collection files feat(connector): [AIRWALLEX, ELAVON, NOVALNET, XENDIT] add in feature API (#7163) refactor: move merchant_key_store table to accounts schema (#7746) chore(postman): update `Stripe` response `status`, `error_code`, and `error_message` for deprecated `Sofort` (#7730) feat(connector): Add recovery support for recurly [v2] (#7497) refactor(cypress): update BOA configs for manual payments' refunds and connector agnostic (#7690) feat(router): Support `card` in `payment_method_subtype` [V2] (#7662) feat: Add open API reference for Intelligent router (#7727) ci(cypress-ci): remove wise payout from running in github ci (#7756) feat(authentication): create authentications to fallback to ApiKeyAuth if AdminApiAuth fails (#7744) chore(version): 2025.04.08.0 feat(core): added force_3ds_challenge for decoupled txns (#7484) chore(version): 2025.04.07.0 chore(postman): update Postman collection files ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Closes this issue
Description
Added invoice number and email in AuthorizeDotNet connector
Additional Changes
Motivation and Context
This feature is a merchant ask. They need it to claim chargebacks.
How did you test it?
Postman Tests
Request:
Response:
Request:
Response:
Request:
Response:
Screenshot of the AuthorizeDotNet Sandbox dashboard:

Checklist
cargo +nightly fmt --allcargo clippy