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(router): disable temp locker call for connector-payment_method flow based on env #2120

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

sai-harsha-vardhan
Copy link
Contributor

@sai-harsha-vardhan sai-harsha-vardhan commented Sep 11, 2023

Type of Change

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

Description

disable temp locker call for connector-payment_method flow based on env

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?

UI Tests for Stripe
image

CIT mandate transaction for Stripe
image

MIT mandate transaction for Stripe
image

3DS payment for Trustpay
image
image
image

Bank redirect for Trustpay
image
image
image

Non3DS for Trustpay
image

Payment_token being null for all the above payments as temp locker is disabled
image

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

@sai-harsha-vardhan sai-harsha-vardhan added A-core Area: Core flows C-feature Category: Feature request or enhancement S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Sep 11, 2023
@sai-harsha-vardhan sai-harsha-vardhan self-assigned this Sep 11, 2023
@sai-harsha-vardhan sai-harsha-vardhan changed the title feat(router): disable temp locker for connector-payment_method flow based on env feat(router): disable temp locker call for connector-payment_method flow based on env Sep 11, 2023
pm,
&payment_data.payment_intent,
&payment_data.payment_attempt,
if should_store_payment_method_data_in_vault(
Copy link
Member

Choose a reason for hiding this comment

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

Try if this check can be done only once

@jarnura jarnura added this pull request to the merge queue Sep 12, 2023
@jarnura jarnura added S-ready-for-merge and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Sep 12, 2023
Merged via the queue into main with commit fea5c4d Sep 12, 2023
10 checks passed
@jarnura jarnura deleted the disable-temp-locker-connector-flow-env branch September 12, 2023 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: Core flows C-feature Category: Feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants