Download the PHP package simpaypl/sylius-simpay-plugin without Composer

On this page you can find all versions of the php package simpaypl/sylius-simpay-plugin. 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 sylius-simpay-plugin

SimPay SyliusSimPayPlugin

Integration of SimPay DirectBilling payments with Sylius application.

Table of Content

Overview

The SyliusSimPayPlugin integrates SimPay DirectBilling payments with Sylius applications. After installing it you should be able to enable SimPay payment method (based on DirectBilling) in your web store.

Why should I choose SimPay?

Installation

Firstly you should run the following command to install the plugin:

After that, you should enable the plugin in your config/bundles.php file:

Then import routing in your config/routes.yaml file:

And finally, import configuration in your config/packages/_sylius.yaml file:

Tada! You have installed the plugin. Now let's configure it.

Configuration

To correctly configure the plugin, you have to visit the SimPay website and create an account.

Service

Then you should create a new DirectBilling Service. During this process you will be asked to provide some data. The most important is the second step.

When you reach it, you should provide data like:

The first one should be the URL of your Sylius application with /payment/simpay/notify suffix. The last two should be the same as your Sylius application URL.

Payment Method

After creating the service, you should go to your Sylius application and create a new SimPay Payment Method. In Gateway Configuration you should provide four important values:

The first two you can find in your SimPay account on the API tab. API key is the Klucz API and API Password is the Hasło API. The last two you can find in your SimPay account on the Services Tab. Service ID is in the header of the Service Details (the number after Szczegóły usługi ID) and Service API key is in the Klucz API field.

The last option you can configure is Amount Type which can be Net or Gross. It depends on the type of your prices in Sylius.

Important! Remember that SyliusSimPayPlugin works only with PLN currency, so the prices of your products should be in PLN.

Testing Mode

When you are on the Details Tab of the Service, you should also pay attention to the state of your testing mode.

Testing mode is enabled by default. It means that you can test your payments without any costs. When you want to start selling your products, you should change the state of this. Then you will be able to receive payments from your customers.

Contribution

If you use Docker, setup local environment with the following command:

Then enter the app container:

And run the following command:

Contact

Do you have an issue with integration or want to learn more? Write to [email protected]


All versions of sylius-simpay-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
sylius/mailer-bundle Version ^1.8 || ^2.0@beta
sylius/sylius Version ^1.12
symfony/webpack-encore-bundle Version ^1.15
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 simpaypl/sylius-simpay-plugin contains the following files

Loading the files please wait ....