Download the PHP package payplug/payplug-sylius without Composer

On this page you can find all versions of the php package payplug/payplug-sylius. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package payplug-sylius

License CI Version Total Downloads

Payplug payment plugin for Sylius

This plugin allows you to integrate Payplug payment with Sylius platform app including payment features and refunding orders.

Requirements

In the channel settings, the base currency must be set to EUR because the payment gateway only works in this currency.

In local environment, the plugin will not work properly because you will not be notified of the status of payments from the payment gateway.

⚠️ Refunds requirements

You need to make some adjustments in order to make our plugin worked normally due to a dependency to refund-plugin. Please follow those requirements:

To generate "Credit memos" when refunding, your server need to have the WKHTMLTOPDF binary as explain in refund-pluging documentation # Pre-requirements

Compatibility

Version
PHP 7.4, 8.0, 8.1
Sylius 1.9, 1.10, 1.11, 1.12

Installation

  1. Require the payplug/sylius-payplug-plugin :

  2. Apply migrations to your database:

  3. Copy templates that are overridden by Sylius into templates/bundles/SyliusAdminBundle

  4. Add Payplug to refundable payment method for Sylius Refund Plugin in config/services.yaml

  5. Add Payplug routes in config/routes.yaml

  6. Add Traits for Customer and PaymentMethod entities
  1. Process translations

  2. Clear cache:

🎉 You are now ready to add Payplug Payment method. In your back-office, go to Configuration > Payment methods, then click on Create and choose "Payplug".

Logs

If you want to follow the logs in the production environment, you need to add the configuration in config/packages/prod/monolog.yaml, logs should be in var/log/prod.log which can be searched after the phrase [Payum] or [Payplug]:

Customization

Available services you can decorate and forms you can extend

Run the below command to see what Symfony services are shared with this plugin:

Template overriding

This plugin override some sylius templates. If you plan override them also, you should retrieve them in your application.

Copy Sylius templates overridden in plugin to your templates directory (e.g templates/bundles/)

You also need to edit your twig config to add your path to avoid our configuration to be prepended :

Development

See How to contribute.

License

This library is under the MIT license.

Oney Integration

For better Oney integration, you can check the Oney enhancement documentation.

Doc


All versions of payplug-sylius with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-json Version *
giggsey/libphonenumber-for-php Version ^8.12
payplug/payplug-php Version ^3.1
php-http/message-factory Version ^1.1
sylius/refund-plugin Version ^1.4
sylius/sylius Version ^1.11.0
symfony/asset Version ^4.4|^5.0|^6.0
symfony/lock Version ^4.4|^5.0|^6.0
symfony/validator Version ^4.4|^5.0|^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package payplug/payplug-sylius contains the following files

Loading the files please wait ....