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

PayPal Express in Cart and Mini-Cart page #1122

Merged
merged 14 commits into from
Jul 23, 2024

Conversation

zenit2001
Copy link
Contributor

@zenit2001 zenit2001 commented Jul 18, 2024

  • What is the motivation for this change?
    This PR enables the PayPal express as a payment method in SFCC cartridge, including the possibility to use the flow with order review page and without order review page.
  • What existing problem does this pull request solve?
    Enablement of PayPal Express

Tested scenarios

Description of tested scenarios:

  • PayPal express payments with order review page
  • PayPal express payments without order review page
  • Shipping method changes
  • Address changes

Fixed issue: SFI-42

zenit2001 and others added 12 commits April 30, 2024 11:39
* feat: adding the possibility to enable/disable paypal ecs from BM

* chore: linting

* fix: fixing klarna e2e test
* feat: paypalUpdateOrder endpoint

* test: unit tests and jsdoc annotations

* feat: paypal update order

* feat(SFI-696): show paypal express if enabled in BM

* chore(SFI-696): add sonar properties file

* refactor(SFI-696): function to create redirectUrl

* feat(SFI-696): add stacktrace for error and fatal logs

* chore(SFI-696): exclude e2e tests from sonar

* fix(SFI-696): clear session.privacy data for paypal express

* chore(SFI-696): undo changes to cartridges

* fix(SFI-696): zero-auth flow
* feat(SFI-790): new template for checkout review button

* feat(SFI-789): handle payments details call from checkout review page

* feat(SFI-789): create basket view data on express review page

* feat(SFI-789): create basket view data on express review page
@zenit2001 zenit2001 changed the title Feature/sfi 42 paypal express review page PayPal Express Jul 18, 2024
@zenit2001 zenit2001 added the new New Feature label Jul 18, 2024
@zenit2001 zenit2001 changed the title PayPal Express PayPal Express in Cart and Mini-Cart page Jul 19, 2024
@zenit2001 zenit2001 marked this pull request as ready for review July 19, 2024 07:49
Copy link
Contributor

@dcardos dcardos left a comment

Choose a reason for hiding this comment

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

Great work, a few comments that might not require code changes, but it would be nice to double check.

dcardos
dcardos previously approved these changes Jul 19, 2024
Copy link

sonarcloud bot commented Jul 19, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
19.3% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@zenit2001 zenit2001 merged commit 5b1cfd4 into develop Jul 23, 2024
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants