Skip to content

Implement PayPal in online checkout#36

Merged
p0lar-bear merged 27 commits intoproductionfrom
6-implement-paypal-support-for-payment-processing
Apr 15, 2026
Merged

Implement PayPal in online checkout#36
p0lar-bear merged 27 commits intoproductionfrom
6-implement-paypal-support-for-payment-processing

Conversation

@p0lar-bear
Copy link
Copy Markdown

Functionally replaces Square - all Square code still exists in the codebase and new PayPal-specific code was added mostly in separate files, though there is a little intermingling.

At time of PR creation, the checkout process is working and refunds still need to be implemented.

Tests would be nice, too.

@p0lar-bear p0lar-bear linked an issue Apr 10, 2026 that may be closed by this pull request
Anadon and others added 5 commits April 11, 2026 16:57
Comment thread registration/views/paypal_webhooks.py Outdated
Comment thread registration/views/paypal_webhooks.py Outdated
Comment thread registration/payments.py Outdated
Comment thread registration/paypal_payments.py Outdated
Comment thread .github/workflows/e2e.yml Fixed
Comment thread .github/workflows/e2e.yml Fixed
Anadon and others added 5 commits April 13, 2026 00:23
…cally.

PayPal order ID is now sent to the checkout endpoint under
billingData.source_id, and POST data sent there also needs a "processor"
property set to "square" or "paypal".
Also fixing an error preventing refunds from goinf through.
Comment thread registration/paypal_payments.py Dismissed
@p0lar-bear p0lar-bear linked an issue Apr 13, 2026 that may be closed by this pull request
@p0lar-bear p0lar-bear marked this pull request as ready for review April 13, 2026 13:41
@p0lar-bear p0lar-bear linked an issue Apr 13, 2026 that may be closed by this pull request
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@p0lar-bear
Copy link
Copy Markdown
Author

Given my involvement in contributing towards this effort, I am going to approve this.

I'll be open that I am not a fan on the LLM-generated tests and noticed in some cases that they are written around the output generated rather than a proper analysis being done on what the output should be, and testing against that. At the least, it works.

For upstream, I'm still thinking of implementing django-payments with custom providers for paypal v2 and Square.

@p0lar-bear p0lar-bear requested a review from anadon April 15, 2026 05:30
Copy link
Copy Markdown
Collaborator

@anadon anadon left a comment

Choose a reason for hiding this comment

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

This is a massive changeset.

@p0lar-bear p0lar-bear merged commit 575bbb8 into production Apr 15, 2026
7 checks passed
@p0lar-bear p0lar-bear deleted the 6-implement-paypal-support-for-payment-processing branch April 15, 2026 20:51
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.

Convert Square webhook endpoints to work with PayPal Implement PayPal into online checkout (pre-reg)

3 participants