[УКР](https://hackmd.io/rNPV-bbERBWrsr0ut8tcnA) | ENG

:arrow_left: [Guide](https://hackmd.io/QA2NYRliRLGviJl5P4-ZCw)
# Checkout Integration by CMS Plugins
:::info
[TOC]
:::
*What is Checkout, payment types and integration methods, see the section ["Checkout"](https://hackmd.io/B7V3CnG2QUKI6Qr820GHkA).*
For quick organization of online payments on the Partner's website, the XPAY system recommends a number of CMS plugins, that help set up payment acceptance on the online shop website without the involvement of the developer resource.
## What Issue do CMS Plugins Solve?
**"CMS" ([Content Management System](https://en.wikipedia.org/wiki/Content_management_system))** is computer software used to manage the creation and modification of digital content (content management). A CMS is typically used for enterprise content management (ECM) and web content management (WCM).
## How to Detect Site's CMS?
[**"Whatcms"**](https://whatcms.org/) is a service that provides a direct answer to the question: *"What CMS Is This Site Using?"*.
## Functionality of Plugins
* Performing settings on the XPAY test environment with the possibility of switching to the product environment;
* Management of payment parameters without programming;
* Selection of the client's identifier during payment (mobile phone number or mail);
* Setting the redirection of the client's browser after payment to a specified page;
* "Postback" acceptance with successful payment;
* Display of current payment status.
## Plugins Available for Integration
| Plugin | Short description | Download |
|:----:|----|:----:|
|  </br> [Official Website](https://uk.wordpress.org/) | **"WordPress"** is a free resource management system, that contains a numerous number of functional additions, both free and paid. </br> [**Plugin Settings >>**](https://hackmd.io/QJJOghzwQWOkMViY7R9V3Q) | [Plugin from "WordPress" library](https://wordpress.org/plugins/xpay-payment-gateway/) </br></br> [GitLab "WordPress"](https://gitlab.com/xpaygroup/wordpress)|
| </br> [Official Website](https://business.adobe.com/products/magento/magento-commerce.html) | **"Magento"** is a Web resource content management system. This CMS is one of the most popular systems for organizing eCommerce. </br> [**Plugin Settings >>**](https://hackmd.io/krM33v3-Q0qJ9UXPXL0alQ)| [GitLab "Magento"](https://gitlab.com/xpaygroup/magento-xpay) |
| </br> [Official Website](https://www.opencart.com/)| Websites on **"OpenCart"** are distinguished by built-in wide functionality, ease of use and open code. Unlike many similar CMS, OpenCart is designed for eCommerce projects from the beginning. </br> [**Plugin Settings >>**](https://hackmd.io/Zzmc3-PPTna8pFKYPlW0cQ)|[GitLab "OpenCart"](https://gitlab.com/xpaygroup/opencart)|
| </br> [Official Website](https://www.joomla.org/)|**"Joomla!"** - an open universal content management system for publishing information on the Internet. Suitable for creating small and large corporate sites, internet portals, online stores, community sites and personal pages. </br> [**Plugin Settings >>**](https://hackmd.io/1XXGyaDXSVqd3sEeNp4ykw) | [GitLab "Joomla!"](https://gitlab.com/xpaygroup/joomla) |
## Test Data

:::info
**Test Partner** is created for testing any operations and getting acquainted with XPAY services, for which all necessary permissions are provided. Parameters for testing Checkout via CMS plugin: **URI**, **"pid"** and **"public key XPAY"**.
Test environment **URI**:
~~~
https://stage-mapi.xpaydirect.com/uk/frame/widget/banner-payment
~~~
Test Partner unique identifier **"pid"**:
~~~
pid=fa8c651a-3e29-4e72-a9f7-39839570e4e3
~~~
Operator public key for the test environment **"public key XPAY"**:
~~~
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0IH2V0Ot1ej4FdOihujG
ON37sqql62vFFR/4IK+w4xqHRvD+SEwwkLL9EO72e42bV9VaKOqKbX81A+0hbBXi
W7axjHU2Sc97EXTHjpwX++HduUXbXhRteyzcHDLZCGKT8WzoNgQeXcieLUYUp2bb
gjElGecKprcprkMeHmffmelwlzcv61auGU0o10CTyyCqhOKofdqJq6A2KOBCLL49
5z1700oCRo9qL4loe95r4wGh6AmHZNvAnAwLgzwzyLvWCz479CVIWEaMY/+uczfL
0yRjN+8uqNK3A09wOD+wO1I+YfU9YXcQ75L8ibxzWcNgMHrhJQ9ZtnoVltiTWEEB
9QIDAQAB
-----END PUBLIC KEY-----
~~~
:::

:arrow_left: [Guide](https://hackmd.io/QA2NYRliRLGviJl5P4-ZCw)
:arrow_left: [Checkout](https://hackmd.io/B7V3CnG2QUKI6Qr820GHkA)
<details>
<summary>XPAY Support</summary>
</br>
Phone: +38 093 891 92 00
Email: info@xpay.com.ua
Telegram: @xpaysupportbot
</details>