Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lyra/plugins-directory
Metadata project to manage Lyra payment plugins publishing.
https://github.com/lyra/plugins-directory
Last synced: 4 days ago
JSON representation
Metadata project to manage Lyra payment plugins publishing.
- Host: GitHub
- URL: https://github.com/lyra/plugins-directory
- Owner: lyra
- Created: 2018-02-08T08:34:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T14:44:36.000Z (11 days ago)
- Last Synced: 2024-11-04T15:24:11.397Z (11 days ago)
- Language: PHP
- Homepage: https://lyra.com
- Size: 1.85 MB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PLUGINS DIRECTORY
PLUGINS DIRECTORY is a metadata project that manages payment plugins publishing and organization inside payment platform documentary websites.
## Directory organization
```
|_ PAGE_1_SLUG.json
|_ PAGE_1_SLUG
|_ CMS_1_SLUG.json
|_ CMS_2_SLUG.json
|_ ...
|_ PAGE_2_SLUG.json
|_ PAGE_2_SLUG
|_ CMS_1_SLUG.json
|_ CMS_2_SLUG.json
|_ ...
|_ ...
```PAGE\_n\_SLUG : One of payzen\_eu, payzen\_de (_deprecated_), payzen\_lat, payzen\_br, payzen\_in, lyra, sogecommerce, e-paiement-securite-bici and clicandpay.
An analysis is in progress to produce one PayZen module by region so that we will reduce the list for PayZen to payzen\_eu, payzen\_lat and payzen\_in. When this module will also manage Lyra Collect offer integration, the list will be reduced to lyra, sogecommerce, e-paiement-securite-bici and clicandpay.CMS\_n\_SLUG : An identifier of the CMS as defined inside PAGE\_n\_SLUG.json and correspending to PayZen repository name if any.
## Page file structure
``` javascript
[
{
"title": "PrestaShop",
"slug": "prestashop",
"logo": "prestashop.png",
"category": "top" // may be STRING - possible values : top, regular, request, commercial, provider ...
},
{
"title": "OpenCart",
"logo": "opencart.png",
"slug": "opencart",
"category": {
"fr-FR": "top",
"de-DE": "top",
"default": "regular"
} // ... may be OBJECT - an object containing category by localized page, default
// is used for pages not explicitly declared
},
{
"title": "HikaShop",
"slug": "hikashop",
"logo": "hikashop.png",
"labels": "Joomla,HikaShop", // STRING - labels to be used for filtering in addition to title
"category": "top"
}
]
```## CMS file structure
``` javascript
{
"current": {
"cms_version": "v 1.5 - 1.7", // STRING - prefixed with v
"packages": [
{
"plugin_uri": "PayZen_PrestaShop_1.5-1.7_v1.8.1.zip", // STRING
"plugin_version": "v1.8.1", // STRING - prefixed with v
"doc_uri": {
"fr-FR": "PayZen_PrestaShop_1.5-1.7_v1.8.1_fr.pdf", // STRING
"en-EN": "PayZen_PrestaShop_1.5-1.7_v1.8.1_en.pdf", // STRING
}, // may be OBJECT - documentation by languages ...
"online_doc_uri":{
"fr-FR": "https://lyra.com/fr/doc/collect/plugins/magento2/sitemap.html", // STRING
},
"type": "full" // STRING - possible values : full, multi, single and single-embedded
}
]
},
"archives": [
{
"cms_version": "v 1.4",
"packages": [
{
"plugin_uri": "PayZen_PrestaShop_1.4.0.x_v1.4f.zip",
"plugin_version": "v1.4f",
"doc_uri": "PayZen_PrestaShop_1.5-1.7_v1.8.1_fr.pdf", // ... may be STRING
"type": "single"
},
{
"plugin_uri": "PayZen_PrestaShop_multi_1.4.0.x_v1.2f.zip",
"plugin_version": "v1.2f",
"doc_uri": "PayZen_PrestaShop_multi_1.5-1.7_v1.8.1_fr.pdf",
"type": "multi"
}
]
},
{
"cms_version": "v 1.1 - 1.3",
"deprecated": true, // true if module is no longer maintained
"ext_dev": true, // true if not developped by us
"packages": [
{
"plugin_uri": "PayZen_PrestaShop_1.2.4.0_v2.9a.zip",
"plugin_version": "v2.9a",
"doc_uri": {
"fr-FR": "PayZen_PrestaShop_1.5-1.7_v1.8.1_fr.pdf", // STRING
"en-EN": "PayZen_PrestaShop_1.5-1.7_v1.8.1_en.pdf", // STRING
},
"type": "single"
}
]
}
]
}
```
## Code Example file structure
``` javascript
[
{
"title": "PHP", // STRING, Section title displayed
"code": [
{
"name": "REST API", // STRING
"version": "3.1.2", // STRING
"link": "https://github.com/LyraNetwork/krypton-php-sdk", // STRING
"zip": "", // STRING, from github or files
"display": ["fr-FR", "en-EN", "de-DE", "pt-BR", "lat", "es-ES"] // ARRAY, langs where the code is displayed
}
]
},
{ // Each language is an object containing his codes
"title": "Python",
"code": [
{
"name": "Form Payment",
"version": "3.4",
"link": "https://github.com/payzen/vads-payment-python",
"zip": "https://github.com/payzen/vads-payment-python/archive/master.zip",
"labels": "payzen",
"display": ["fr-FR", "en-EN", "de-DE", "pt-BR", "lat", "in", "es-ES"]
}
]
}
]
```## Naming conventions
Package name : [BRAND NAME]\_[COUNTRY CODE IF ANY]\_[CMS NAME]\_[CMS VERSION]\_[PLUGIN VERSION].zip
Documentation name : [BRAND NAME]\_[COUNTRY CODE IF ANY]\_[CMS NAME]\_[CMS VERSION]\_[PLUGIN VERSION]\_[LANGUAGE CODE].pdf