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): (checkout_dot_com) add support for multiple partial captures #1977

Merged
merged 60 commits into from
Aug 29, 2023

Conversation

hrithikesh026
Copy link
Contributor

@hrithikesh026 hrithikesh026 commented Aug 21, 2023

Type of Change

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

Description

Checkout doesn't support multiple partial captures currently. This PR brings support for multiple partial capture in checkout.

This issue needs to be addressed
#2036

Additional Changes

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

Motivation and Context

How did you test it?

Manual

Create payment with capture_method = manual_multiple
Screenshot 2023-08-21 at 10 50 45 PM

Partially capture the payment (status changes to partially_captured)
Screenshot 2023-08-21 at 10 51 09 PM

Capture remaining amount and status changes to succeeded
Screenshot 2023-08-21 at 10 51 23 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
  • I added a CHANGELOG entry if applicable

@ArjunKarthik ArjunKarthik added the S-waiting-on-author Status: This PR is incomplete or needs to address review comments label Aug 24, 2023
@hrithikesh026 hrithikesh026 added the S-blocked Status: Blocked on something else or other implementation work label Aug 24, 2023
@hrithikesh026 hrithikesh026 removed S-blocked Status: Blocked on something else or other implementation work S-waiting-on-author Status: This PR is incomplete or needs to address review comments labels Aug 28, 2023
@ArjunKarthik ArjunKarthik added the S-waiting-on-author Status: This PR is incomplete or needs to address review comments label Aug 28, 2023
ArjunKarthik
ArjunKarthik previously approved these changes Aug 28, 2023
@hrithikesh026 hrithikesh026 removed the S-waiting-on-author Status: This PR is incomplete or needs to address review comments label Aug 28, 2023
@jarnura jarnura removed the S-waiting-on-review Status: This PR has been implemented and needs to be reviewed label Aug 29, 2023
@jarnura jarnura enabled auto-merge August 29, 2023 10:55
@jarnura jarnura added this pull request to the merge queue Aug 29, 2023
Merged via the queue into main with commit 784702d Aug 29, 2023
12 of 13 checks passed
@jarnura jarnura deleted the checkout_dot_com_multiple_partial_capture branch August 29, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: Feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants