Download the PHP package payu/magento24-payment-gateway without Composer

On this page you can find all versions of the php package payu/magento24-payment-gateway. 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 magento24-payment-gateway

Wersja polska

PayU module for Magento 2 version 2.4

BREAKING CHANGES

Due to changes described in CHANGELOG after updating plugin from version 1.X to 2.X, you must reconfigure plugin.

If you have any questions or if you want to report an error, please contact our support at the address: [email protected].

Table of contents

  1. Properties
  2. Requirements
  3. Installation
  4. Configuration
    • Parameters
  5. Information about properties
    • Order of payment methods
    • Repeat payment
    • Saving card

Properties

PayU payment module adds a PayU payment option to Magento 2. The module works together with Magento 2 version 2.4

The following operations are possible:

The module adds these payment methods:

Requirements

Important: The module works only with the REST API (Checkout) POS, if you don't have an account in the PayU system yet, register yourself in the production system or in the sandbox system

Installation

Using Composer

composer require payu/magento24-payment-gateway

After installation from the console's level, run:

Configuration

  1. Go to the administration page of your Magento 2 store [http://adres-sklepu/admin_xxx].
  2. Go to Stores > Configuration.
  3. On the Configuration page in the menu on the left-hand side, in the section Sales choose Payment Methods.
  4. On the list of available payment methods choose one of the PayU methods to configure the plugin's parameters.
  5. After changing the parameters click Save config.

API Parameters

Parameter Description
Test mode (Sandbox) Yes - transactions are processed by the PayU Sandbox system.
No - transactions are processed by the PayU production system.

Point of sale (POS) parameters

Parameter Descripction
POS IdD POS ID from PayU system
Second MD5 key Second MD5 key from PayU system
OAuth - client_id client_id for OAuth protocol from PayU system
OAuth - client_secret client_secret for OAuth from PayU system

POS parameters - Test mode (Sandbox)

Available when the parameter Test Mode (Sandbox) is set for Yes.

Parameter Description
POS ID POS ID from PayU system
Second MD5 key Second MD5 key from PayU system
OAuth - client_id client_id for OAuth protocol from PayU system
OAuth - client_secret client_secret for OAuth from PayU system

"PayU Credit widget" plugin parameters

Parameter Description
Enable widget for product view Value Yes|No. Displays the widget on product pages.
Enable widget for catalog view Value Yes|No. Displays the widget on pages with product lists (e.g., categories).
Enable widget for catalog widgets eg. hot, new Value Yes|No. Displays the widget on pages with product list widgets (e.g., bestseller, new).
Experimental feature
Enable widget for checkout Value Yes|No. Displays the widget on the cart page.
Enable widget for minicart Value Yes|No. Displays the widget in the cart summary dropdown.
Enable widget for cart summary Value Yes|No. Displays the widget on the cart summary page with the payment method selection.
Excluded payTypes Comma-separated list of payment methods to omit during widget display.
It is recommended to leave this list empty

"PayU Payment" parameters

Parameter Description
Activate the plugin? Determines whether the payment method will be available in the store on the list of payments.
Order of payment methods Determines the order of the payment methods being displayed more information.
Activate repeat payment? more information
Sort Order Position of the payment method in the list of payment methods.

"PayU - Cards" parameters

Parameter Description
Activate the plugin? Determines whether the payment method will be available in the store on the list of payments.
Activate repeat payment? more information
Activate remembering of cards? more information
Sort Order Position of the payment method in the list of payment methods.

"PayU - Google Pay" parameters

Parameter Description
Activate the plugin? Determines whether the payment method will be available in the store on the list of payments.
Activate repeat payment? more information
Sort Order Position of the payment method in the list of payment methods.
Google Pay Merchant ID Merchant identifier in Google. You need to verify your shop in Google, following the instructions.
Google Merchant Name Merchant name displayed in Google Pay (should match your Google Pay profile).

"PayU - Apple Pay" parameters

Parameter Description
Activate the plugin? Determines whether the payment method will be available in the store on the list of payments.
Activate repeat payment? more information
Sort Order Position of the payment method in the list of payment methods.
Domain name Domain name registered in Apple, following the instructions. Important: the domain must match the checkout page domain, otherwise Apple will reject the payment request.
Store Display Name Apple Pay display name shown in the payment sheet - a string of up to 64 UTF-8 characters with the canonical name of your store.

"PayU - Installments", "PayU - Klarna", "PayU - PayPo", "PayU - PragmaPay", "PayU - Twisto", "PayU - Twisto Pay in 3" payment parameters

Parameter Description
Activate the plugin? Determines whether the payment method will be available in the store on the list of payments.
Activate repeat payment? more information
Sort Order Position of the payment method in the list of payment methods.

Information about properties

Order of payment methods

To determine the order of display of payment method icons indicate the payment method symbols, separating them with a comma. List of payment methods.

Repeat payment

To use this option the POS should be properly configured in PayU and automatic receipt of payments should be disabled (auto-receipt is on by default). To do that log in to the PayU panel, go to the tab "Electronic payments", then click "My stores" and POS in the given store. The "Automatic payment receipt" option can be found at the bottom under the list of payment methods.

Repeat payment makes it possible to activate multiple payments in PayU to a single order in Magento. The plugin will automatically take receipt of the first successful payment while the other ones will be cancelled. Repeat payment from the buyer's point of view is also possible through the list of orders in Magento (a link "Pay again" will appear there). The buyer will also automatically receive an e-mail with such link. Thus, the buyer is able to successfully pay for his order even if the first payment was unsuccessful (for instance, no funds on the card, problems logging in to the bank, etc.).

Saving cards

Saving card allows logged in users to remember the card for future payments. Each such remembered card is "tokenized", however, Magento does not process the card's full details in any way (they are entered using an embedded widget hosted by PayU) and does not save card tokens in its database (before use, current tokens for the given user are always downloaded from PayU).

To ensure proper functioning of the service additional configuration in PayU, consisting in creating and receiving tokens, is required. Additionally, the principles of authenticating payments with the remembered card can also be determined (by default every payment with a saved card requires providing a CVV code and being authenticated by 3DS but, for instance, an amount limit up to which this will not be necessary can be defined).

The buyer may save the card while making a payment, using the option "Use and save" on PayU widget while entering the card's details. Each card being remembered is subject to strong authentication during first payment (CVV and 3DS). A saved card will appear after choosing to pay with a card through PayU for the order and is visible in the user's account (tab "My saved cards"), where an option to delete it is also available.

Credit widget

To inform customers about credit payment options for a specific product, we recommend placing the credit widget next to products in product lists, in the description (details) of the selected product, in the cart, and at checkout (before payment). The configuration parameters described in the section "PayU Credit widget" plugin parameters allow flexible management of where the credit widget is displayed.

Example presentation of the credit widget


All versions of magento24-payment-gateway with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
ext-curl Version *
openpayu/openpayu Version 2.4.*
magento/module-payment Version 100.4.*
magento/module-checkout Version 100.4.*
magento/module-sales Version 103.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 payu/magento24-payment-gateway contains the following files

Loading the files please wait ...