-
Notifications
You must be signed in to change notification settings - Fork 820
Add PayPal Payments package - skeleton code only #43315
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
Conversation
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
Code Coverage Summary1 file is newly checked for coverage.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may be an opportunity to move away from the "simple payments" name, and have a package that really tells what this is about, i.e. PayPal. What do you think?
Thanks for taking a look at this PR! I agree that this is a good opportunity to move away from "Simple Payments". "PayPal" could work but I think it also may be a bit too vague. Other possible names:
Of those three which one do you like best? I could also bring this question to the project update today to get some wider input. If you have any other name suggestions, please let me know. Lastly, what did you think of the options I selected when I walked through the interactive jetpack generate package --name simple-payments
✔ Succinctly describe your project: · Add PayPal, credit, and debit card payment buttons with minimal setup. Good for collecting donations or payments for products and services.
✔ Select production and/or development build steps to generate: · production, development
✔ Do you plan to use WordPress core functions in your PHPUnit tests? (y/N) · false
✔ Does this project need to be deployed publicly? (Create a mirror repo?) (Y/n) · true
✔ What is your GitHub Personal Token? · ****************************************
GET /repos/Automattic/jetpack-simple-payments - 404 with id 4E28:2C0120:130E999:25FCEFB:681266F3 in 309ms
✔ Configure mirror repo to create new tags automatically (based on CHANGELOG.md)? (Y/n) · true
Project created successfully! Happy coding! |
I like PayPal Payments. 👍
This should work.
We'll need to make sure the tests pass, or we won't be able to merge. I believe that means you'll need to add a simple test in the package so it's not empty. |
Sounds good. I like it as well. I'll suggest it as our preferred name in the project update thread and give the stakeholders an opportunity to provide feedback on the name.
Thanks for checking!
Yep, that was my next step. I can work on adding a simple test for the package. |
@jeherve I've added a test and made some minor changes to get a green check on CI. Can you review it once more? |
Proposed changes:
Other information:
Jetpack product discussion
No discussions with Jetpack Product at this time. Discussions have been with Jetpack Engineering in regards to a similar project. Additional details can be found in this project thread update: pcqRLn-2xw-p2#comment-3584
Does this pull request change what data or activity we track or use?
No.
Testing instructions:
jetpack generate command
.