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): worldpay - add dynamic fields and update terminal status mapping #6468

Merged
merged 14 commits into from
Nov 28, 2024

Conversation

kashif-m
Copy link
Contributor

@kashif-m kashif-m commented Oct 30, 2024

Type of Change

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

Description

This PR contains changes to

  • update status mapping for Worldpay - payments and refunds
  • add required fields for Worldpay
  • fix refund retrieve bug for Worldpay

Described in detail - #6316 point # 5

Additional Changes

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

Motivation and Context

  • Keeps the behavior of CaptureMethod uniform across connectors
  • Introduces default fields for Worldpay cards

How did you test it?

  • Run Worldpay's cypress test cases
Screenshot 2024-11-27 at 4 15 21 PM

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

@kashif-m kashif-m self-assigned this Oct 30, 2024
@kashif-m kashif-m linked an issue Oct 30, 2024 that may be closed by this pull request
2 tasks
@kashif-m kashif-m marked this pull request as ready for review November 25, 2024 10:03
@kashif-m kashif-m requested a review from a team as a code owner November 25, 2024 10:03
@kashif-m kashif-m changed the title feat(connector): [worldpay] use auto-capture by default and add dynamic fields feat(connector): worldpay - add dynamic fields and update terminal status mapping Nov 26, 2024
@kashif-m kashif-m requested review from a team as code owners November 26, 2024 10:22
@likhinbopanna
Copy link
Contributor

Also, Run the Worldpay cypress test cases ?

crates/router/src/core/refunds.rs Outdated Show resolved Hide resolved
crates/router/src/core/refunds.rs Outdated Show resolved Hide resolved
srujanchikke
srujanchikke previously approved these changes Nov 26, 2024
pixincreate
pixincreate previously approved these changes Nov 26, 2024
…y_connector_transaction_id_payment_id_merchant_id query
jarnura
jarnura previously approved these changes Nov 27, 2024
pixincreate
pixincreate previously approved these changes Nov 27, 2024
@likhinbopanna likhinbopanna added this pull request to the merge queue Nov 28, 2024
Merged via the queue into main with commit 5a98ed6 Nov 28, 2024
15 of 17 checks passed
@likhinbopanna likhinbopanna deleted the worldpay-defaults branch November 28, 2024 14:50
pixincreate added a commit that referenced this pull request Nov 28, 2024
…ed-cypress

* 'main' of github.com:juspay/hyperswitch:
  feat(connector): worldpay - add dynamic fields and update terminal status mapping (#6468)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REFACTOR] Worldpay payments integration
6 participants