Skip to content

feat(connector): Introduce connector template code for WorldpayXML #7968

Merged
Gnanasundari24 merged 5 commits intomainfrom
worldpay_xml_integration
May 12, 2025
Merged

feat(connector): Introduce connector template code for WorldpayXML #7968
Gnanasundari24 merged 5 commits intomainfrom
worldpay_xml_integration

Conversation

@AkshayaFoiger
Copy link
Contributor

Type of Change

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

Description

Adding support for Worldpay's XML payment processor

How did you test it?

just clippy
cargo +nightly fmt --all
cargo c

Hyperswitch code base should compile.

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

@AkshayaFoiger AkshayaFoiger requested review from a team as code owners May 6, 2025 11:24
@semanticdiff-com
Copy link

semanticdiff-com bot commented May 6, 2025

@AkshayaFoiger AkshayaFoiger self-assigned this May 6, 2025
@AkshayaFoiger AkshayaFoiger added A-connector-compatibility Area: Connector compatibility A-connector-integration Area: Connector integration labels May 6, 2025
awasthi21
awasthi21 previously approved these changes May 6, 2025
@@ -0,0 +1,402 @@
use masking::Secret;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please rename this file to worldpayxml.rs and move it to crates/router/tests/connectors

deepanshu-iiitu
deepanshu-iiitu previously approved these changes May 6, 2025
ShankarSinghC
ShankarSinghC previously approved these changes May 7, 2025
Comment on lines +95 to +97
#[derive(Debug, Clone, Default, Serialize, Deserialize, PartialEq)]
#[serde(rename_all = "lowercase")]
pub enum WorldpayxmlPaymentStatus {
Copy link
Member

Choose a reason for hiding this comment

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

Nit: You can derive Copy on such enums with unit variants. Please update connector template as well.

Comment on lines +165 to +166
#[derive(Debug, Serialize, Default, Deserialize, Clone)]
pub enum RefundStatus {
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue May 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 12, 2025
@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue May 12, 2025
Merged via the queue into main with commit 57cb3a9 May 12, 2025
16 of 20 checks passed
@Gnanasundari24 Gnanasundari24 deleted the worldpay_xml_integration branch May 12, 2025 14:33
pixincreate added a commit that referenced this pull request May 12, 2025
…adyen-ideal

* 'main' of github.com:juspay/hyperswitch: (62 commits)
  fix(core): language consumption from locale in payment and payout links (#7993)
  feat(refunds_v2): Add refunds list flow in v2 apis (#7966)
  refactor(connector): [Noon] auth header (#7977)
  fix(connector): [Novalnet] send decoded token for apple pay payment (#7973)
  feat(business_profile): add business_profile config to enable external vault (#7876)
  feat(vsaas): integrate onboarding flow for vertical saas (#7884)
  feat(connector): Introduce connector template code for WorldpayXML  (#7968)
  feat(connector): [ADYEN, CHECKOUT] Added In Feature Matrix API (#7914)
  feat(core): add psync support for recovery external payments (#7855)
  refactor(open_router): call elimination routing of open router if enabled instead of dynamo (#7961)
  feat(payment_methods): add v2 api for fetching token data (#7629)
  ci(cypress): Fix Bank Redirects for stripe test (#8004)
  chore(version): 2025.05.12.0
  refactor(authentication): moved cavv storing from table to temp locker (#7978)
  chore(version): 2025.05.09.0
  feat(connector): [paypal, trustpay] add in feature matrix (#7911)
  fix(update_metadata): Update Metadata for any connectors other than stripe gives 500 error (#7984)
  fix(router): Fixed stack over flow for session call in authentication connectors (#7983)
  chore(version): 2025.05.08.0
  fix(payment): disable payment update via client config (#7970)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-connector-compatibility Area: Connector compatibility A-connector-integration Area: Connector integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants