MAJ Module Paypal vers 5.1.1 (comme en prod)

This commit is contained in:
2020-02-14 19:42:46 +01:00
parent 188923c03c
commit f00f4207dd
137 changed files with 12999 additions and 5036 deletions

View File

@@ -1,4 +1,4 @@
# PayPal et Braintree Officiel
# PayPal Officiel
## About
@@ -7,8 +7,7 @@ Let customer pay with one of this payment methods :
On PrestaShop 1.7 :
- PayPal Express Checkout
- PayPal Express Checkout Cards
- Braintree cards and PayPal
- PayPal Plus
- PayPal Plus Germany, Mexique and Brazil
On PrestaShop 1.6 :
- PayPal Express Checkout
@@ -18,14 +17,14 @@ On PrestaShop 1.6 :
#### Product page on PrestaShop Addons:
https://addons.prestashop.com/en/payment-card-wallet/1748-paypal-braintree-official.html
https://addons.prestashop.com/en/payment-card-wallet/1748-paypal-official.html
## Module version guide
| PrestaShop version | Module version | Repo | Doc | PHP Version |
|---------|------------|---------------------|---------------------|-------------|
| 1.5.x - 1.6.x | 3.12.x | [release/3.12.1][paypal-3.12] | | 5.3 or greater |
| 1.7.x | 4.x | [master][paypal-4] | [module documentation][6]| 5.4 or greater |
| 1.5.x - 1.6.x | 3.14.x | [release/3.14.0][paypal-3.12] | | 5.3 or greater |
| 1.7.x | 5.x | [master][paypal-4] | [module documentation][6]| 5.4 or greater |
## Requirements
@@ -55,6 +54,20 @@ repository, run the ```composer install``` from the root module folder.
See the [composer documentation][composer-doc] to learn more about the composer.json file.
## Compiling assets
**For development**
We use _Webpack_ to compile our javascript and scss files.
In order to compile those files, you must :
1. have _Node 10+_ installed locally
2. run `npm install` in the root folder to install dependencies
3. then run `npm run watch` to compile assets and watch for file changes
**For production**
Run `npm run build` to compile for production.
Files are minified, `console.log` and comments dropped.
## Contributing
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
@@ -87,8 +100,8 @@ That's it: you have contributed to this open-source project! Congratulations!
[3]: https://help.github.com/articles/using-pull-requests
[4]: https://www.paypal-notice.com/en/TLS-1.2-and-HTTP1.1-Upgrade/
[5]: https://www.paypal-notice.com/en/SSL-Certificate-Upgrade-Microsite/
[6]: https://addons.prestashop.com/documentation/ee767c22c12e349aab3767a6cf32f389644d5964
[paypal-3.12]: https://github.com/202-ecommerce/paypal/tree/release/3.12.1
[6]: https://help.202-ecommerce.com/wp-content/uploads/2019/12/User-guide-PayPal-PrestaShop-module-51.pdf
[paypal-3.12]: https://github.com/202-ecommerce/paypal/tree/release/3.14.0
[paypal-4]: https://github.com/202-ecommerce/paypal/tree/master
[addons]: https://addons.prestashop.com/en/payment-card-wallet/1748-paypal-braintree-official.html
[composer-doc]: https://getcomposer.org/doc/04-schema.md
[addons]: https://addons.prestashop.com/en/payment-card-wallet/1748-paypal-official.html
[composer-doc]: https://getcomposer.org/doc/04-schema.md