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: added paypal param redirect #12

Closed
wants to merge 9 commits into from

Conversation

bdizha
Copy link

@bdizha bdizha commented Jul 5, 2024

Summary

This is intended as a temporary measure to allow users to pay via PayPal, until we implement full PayPal support in the new checkout.


Acceptance Criteria

  • When arriving at legacy checkout
    -- any previously applied coupon is re-applied
    -- the PayPal flow is immediately initiated, and the user is brought to PayPal to complete their transaction

  • Completing the PayPal transaction results in a successful order and fulfillment in the legacy system

@bdizha bdizha requested a review from a team as a code owner July 5, 2024 13:00
@openedx-webhooks
Copy link

Thanks for your pull request, but this repo does not accept outside contributions unless they are under contract. If you think this is an error, please contact @nedbat.

@grmartin grmartin changed the title Bmatuku/sonic 501 added paypal param redirect feat: added paypal param redirect Jul 5, 2024
@grmartin
Copy link
Member

grmartin commented Jul 5, 2024

You need to rework your commit messages to follow the conventional commit rules... https://open-edx-proposals.readthedocs.io/en/latest/best-practices/oep-0051-bp-conventional-commits.html

Rebase, edit messages then force push.

Copy link
Member

@NawfalAhmed NawfalAhmed left a comment

Choose a reason for hiding this comment

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

Added a comment, also can we add a unit test related to the introduced redirect logic if possible

src/payment/checkout/Checkout.jsx Outdated Show resolved Hide resolved
@bdizha bdizha force-pushed the bmatuku/SONIC-501-added-paypal-param-redirect branch 2 times, most recently from bedbe0f to a65b4bc Compare July 8, 2024 18:03
@bdizha bdizha force-pushed the bmatuku/SONIC-501-added-paypal-param-redirect branch from a65b4bc to 3a8fcbe Compare July 8, 2024 18:11
@grmartin
Copy link
Member

grmartin commented Jul 8, 2024

Bata has signed off, time to create a new PR to get past the CLA issue.

@grmartin grmartin closed this Jul 8, 2024
@grmartin grmartin deleted the bmatuku/SONIC-501-added-paypal-param-redirect branch July 8, 2024 19:53
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.

6 participants