- Clone this repository locally within the plugins directory of WordPress.
- Go to your local installation, and activate this plugin.
- Signup or sign into your PayPal developer account and create buyer and seller accounts.
- View your newly created seller account and copy the API credentials.
- Go to WooCommerce > Settings > Payments and select the Set up button next to PayPal Checkout.
- Set Environment to Sandbox, then select the click here to toggle manual API credential input link.
- Paste your API credentials and save.
- Ensure PayPal Checkout is enabled by checking the Enable/Disable checkbox.
- To display PayPal buttons on the cart page, check the Checkout on cart page checkbox.
- Similarly, check the Checkout on Single Product checkbox to display buttons on single product pages.
You can find a detailed list of all settings in the WooCommerce PayPal Checkout documentation.
To checkout, you can use your sandbox buyer account, or generate a test credit card.
The documentation for the API endpoints can be found in PayPal's developer documentation
You can also explore the API from PayPal's API Executor
- The
/woocommerce/woocommerce-gateway-paypal-express-checkout/
repository is treated as a development repository: this includes development assets, like unit tests and configuration files. Commit history for this repository includes all commits for all changes to the code base, not just for new versions.
A "deployment" in our sense means:
- validating the version in the header and
WC_GATEWAY_PPEC_VERSION
constant match - generating a
.pot
file for all translatable strings in the development repository - running a custom deploy script
- the changes will be pushed to a branch with the name
release/{version}
so that a PR can be issued on/woocommerce/woocommerce-gateway-paypal-express-checkout/
- tagging a new version
woocommerce/woocommerce-gateway-paypal-express-checkout/trunk
includes all code for the current version and any new pull requests merged that will be released with the next version. It can be considered stable for staging and development sites but not for production.
This project enforces WooCommerce coding standards. Please respect these standards and if possible run appropriate IDE/editor plugins to help you enforce these rules.
We are striving to subject this extension to tests at various levels. They are works in progress. The following will be updated as there is progress. Do check with us if you want to contribute in some way towards these.
- TBD - Travis Integration
- TBD - Unit Testing
- TBD - E2E Testing
Contribution can be done in many ways. We appreciate it.
- If you test this extension and find a bug/have a question, please submit a bug report.
- If you have fixed any of the issues, please submit a pull request.