Download the PHP package 202ecommerce/younitedpay-sdk without Composer

On this page you can find all versions of the php package 202ecommerce/younitedpay-sdk. 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 younitedpay-sdk

Younited Pay SDK for PHP

Coding Standart Unit test

This package is a Younited Pay PHP SDK. It let you mange exchange between your shop and Younited Pay.

This package is a dependancy of Younited Credit PrestaShop or Magento plugin.

Versions scope

This package is compatible with PHP 5.6+. PHP Version SDK Version
PHP 5.6 to PHP 8.0 (not included) v1.X
PHP 8.0+ v2.X
PHP 5.6+ to PHP8+ v3.X

How to install it ?

Todo: Composer via packagist

To use this package with php 5.6 or in production mode, please install this dependancy with :

in a eveloppement environment

Recommandations

You can see one example of use of this SDK here : https://github.com/YounitedCredit/younitedpay-module-prestashop Each application should consider several points :

How to try this SDK ?

First of all, you will need to create your account and get credentials from Younited Pay. Then you can use them to retrieve your shop codes and begin the adventure !

Get shop codes for one merchant

Shop Codes documentation

This is usefull for merchants with several point of sales and mandatory for creating payments. In previous API there was a fallback to get the "ONLINE" one if found by default for the merchant. Please be carefull and prefer to let merchants save this configuration to make API calls.

Please note that this is the code which is needed (not the name ) !

Get Younited Pay eligible offers, per maturities

Get Offers documentation

You can easily get list of offer by creating a request

Get Available Maturities

Get Offers documentation - Get only maturities

You can easily get available maturities by creating a request

Create a payment

Create a payment documentation

You can easily initialize a contract by creating a request

Load Contract

Get a payment documentation

You can easily load a payment information by creating a request. Please not that now we retrieve the paymentId from contract creation and use it for each calls (instead of contract reference)

Confirm Contract (depracated)

It will not be needed anymore to confirm a payment as it was for a contract. More details on migration guide here : https://docs.younited.com/pay/migration.html

Activate Contract

Execute a payment documentation

You can easily execute a payment by creating a request

Withdraw Contract

Refund a payment documentation

You can easily refund a payment (totally or partially) by creating a request

Cancel Contract

Cancel a payment documentation

You can easily cancel a payment by creating a request

Get Callback Response to configure Webhook

WebHook client to secure response documentation

You can easily get available maturities by creating a request


All versions of younitedpay-sdk with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
ext-curl Version *
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 202ecommerce/younitedpay-sdk contains the following files

Loading the files please wait ....