Skip to content

Softizy/ps_checkout

 
 

Repository files navigation

PrestaShop Checkout

PrestaShop Checkout

About

PrestaShop official payment module in partnership with PayPal.

Reporting issues

In order to contact the team, please use the link available in the back-office once logged to your PrestaShop account.

Building the module

Direct download

If you want to get a zip ready to install on your shop. You can directly download it by clicking here.

Production

  1. Clone this repo git clone [email protected]:PrestaShop/ps_checkout.git
  2. composer install --no-dev -o
  3. yarn install (Or npm install if you are using npm as the package manager)
  4. yarn build (Or npm run build if you are using npm as the package manager)

Don't forget to delete all unecessary files (if you want to deploy the module) like .git, node_modules/ etc ...

Development

  1. Clone this repo
  2. composer install
  3. yarn install
  4. yarn serve --watch Add --watch parameter in order to get the assets automatically build when you modify files

The module use vuejs for all the backoffice interface. In development you will need to uncomment a line in the file ps_checkout/views/templates/configuration.tpl

<script src="//localhost:8080/index.js"></script>

Then comment lines:

<script src="../modules/ps_checkout/views/js/chunk-vendors.js"></script>
<script src="../modules/ps_checkout/views/js/index.js"></script>

I also recommend you to install the vuejs-devtools.

Switch on sanbox (Advanced)

PayPal offers a sandbox mode in which an order can be created without involving actual money.

To enable it, reach the module configuration page, then replace #... at the end of the URL with #/experimental.

This route allow you to acces to some experimental features (like paypal sandbox). Don't use them in a production environment until these features are officially released.

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.

Requirements

Contributors must follow the following rules:

  • Make your Pull Request on the "dev" branch, NOT the "master" branch.
  • Do not update the module's version number.
  • Follow the coding standards.

Process in details

Contributors wishing to edit a module's files should follow the following process:

  1. Create your GitHub account, if you do not have one already.
  2. Fork this project to your GitHub account.
  3. Clone your fork to your local machine in the /modules directory of your PrestaShop installation.
  4. Create a branch in your local clone of the module for your changes.
  5. Change the files in your branch. Be sure to follow the coding standards!
  6. Push your changed branch to your fork in your GitHub account.
  7. Create a pull request for your changes on the 'dev' branch of the module's project. Be sure to follow the contribution guidelines in your pull request. If you need help to make a pull request, read the GitHub help page about creating pull requests.
  8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.

That's it: you have contributed to this open source project! Congratulations!

License

This module is released under the Academic Free License 3.0

About

Module for PrestaShop Payments

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 73.8%
  • Vue 16.1%
  • JavaScript 7.1%
  • Smarty 2.2%
  • CSS 0.6%
  • Shell 0.1%
  • Makefile 0.1%