Download the PHP package ratepay/shopware5-module without Composer

On this page you can find all versions of the php package ratepay/shopware5-module. 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 shopware5-module

Ratepay GmbH - Shopware Payment Module

============================================

Module Ratepay Module for Shopware
Shop Version 5.5.0 - 5.7.x
Link http://www.ratepay.com
Mail [email protected]
Full Documentation click here
Legal Disclaimer click here

Installation

via packagist (recommended)

This is only possible if you use the composer setup of shopware

  1. execute composer require ratepay/shopware5-module in your project directory
  2. Log into your Shopware-backend
  3. Install & configure the module

via Shopware store (or GitHub release download)

  1. Download the plugin from the Shopware store
  2. Upload it via the Plugin Manager or put it into the folder custom/plugins/RpayRatePay
  3. Log into your Shopware-backend
  4. Install & configure the module

Changelog

please have a look into plugin.xml

Shopware CLI Commands

You can use the Shopware CLI to perform operations on Ratepay orders.

All commands have the same structure:

Name Description required
operation one of deliver, return, cancel Yes
order the order id, order number or the transaction id of the order Yes
orderDetail the detail id or detail number which has to be performed. If not provided, all items of a order will be selected.
Use shipping to perform the action on the shipping costs.
No
qty the quantity which has to be performed. If not provided, the original ordered quantity will be used No

example operation deliver

all elements of the order (with the id 125) will be delivered

example operation return

2 elements with item-number SW0001 of the order (with the transaction-id 54-214XXXXXX2133) will be returned

example operation cancel

all elements with item-number SW0001 of the order (with the order-number 200012) will be canceled

Request services

There are a three request services registered in the container:

Usage of the request services

Get the request service via dependency injection. The id of the service is the classname (symfony 3 style)

perform just a few products

If you want to deliver/cancel/return the shipping costs of an order, you need to provide shipping as a string as $productNumber. The $qty must be 1. You must not call setOrderDetail() on the $basketPosition.

Please note that you always have to call setOrderDetail() if you want to deliver/cancel/return a product or voucher, except the shipping costs.

perform full action

If you want to do a full deliver/cancel/return, just call the following:

(already delivered/returned/canceled items will be ignored.)

Response

you will get an \RatePAY\Model\Response\AbstractResponse or a boolean as response.

If you get an AbstractResponse, just call isSuccessful() to verify if the request was successful.

If you get a boolean with the value true the operation has been registered to in the database, but has not been sent to the gateway. This will happen, if the order is an installment and there an open (not delivered/canceled) items in the order.

Feature flags

You can enable specific features by setting the flags in the plugin configuration.

Please note: You should test each feature very carefully, because they may break your processes in some cases.

Please contact your contact person to make sure that this feature will work in your installation.

Separate the features with a comma and no spaces.

Flag Description
FEATURE-4465 The PaymentRequest against the gateway sends all items from the BASKET. The ConfirmationDeliver-Request will send all items from the ORDER. So if there is any extension which will add new line-items during the save of the order, the plugin tries to deliver the items during the ConfirmationDeliver request. This feature compares the items, which are in the order and in the basket. Enabling this means, that items, which are not in the basket (but saved to the order), will not saved as ratepay position and can not be delivered. You should also enable FEATURE-8543 if you have enabled the bidirectionality.
FEATURE-8543 By default, if an ratepay position can not be found during an order status update (bidirectionallity), an exception will be thrown and the order will be not updated. If this flag is enabled, the other positions of the order will be processed (if there any). A warning will be reported to the log file. This flag will also work for single order position update during bidirectionality.

All versions of shopware5-module with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6 || ^7.0 || ^8.0
shopware/shopware Version ^5.5.0 || ^5.6.0 || ^5.7.0
ratepay/php-library Version ^1.8
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 ratepay/shopware5-module contains the following files

Loading the files please wait ....