Implement PayPal in online checkout#36
Merged
p0lar-bear merged 27 commits intoproductionfrom Apr 15, 2026
Merged
Conversation
…. They are still basically the Square Webhhoks' contents, but this needs to be pushed so that parallel development will not conflict.
Still needs to be wired up to actual code and more tests need written.
anadon
reviewed
Apr 12, 2026
Using variable names from Docker Hub documentation.
Using Docker Hub documentation username variable "DOCKER_USERNAME".
There are other checkout testing calls that are looking for output that would come from Square, need to figure out how to address that.
…been some added tests.
…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.
…ntain permissions' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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. |
anadon
approved these changes
Apr 15, 2026
Collaborator
anadon
left a comment
There was a problem hiding this comment.
This is a massive changeset.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.