• France
status page
Merchant Back Office
assistance
FAQContact support
Search
Categories
Tags
English
French
English
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
Logos
Push mail
Snippets
Payment methods
Plugins
Guides
Merchant Back Office
Functional guides

Sample file: config.php

See the chapter: Retrieving the keys :

  • Step 2: Authenticate him/herself

Depuis le bom_expert

For the DEMO store:

NUMBER VARIABLE value Description
1 USERNAME 73239078 For calls to REST Web Services
2 PASSWORD testpassword_SbEbeOueaMDyg8Rtei1bSaiB5lms9V0ZDjzldGXGAnIwH For calls to REST Web Services
3 PUBLIC_KEY 73239078:testpublickey_Zr3fXIKKx0mLY9YNBQEan42ano2QsdrLuyb2W54QWmUJQ For creating a payment form in the Buyer's browser.
4 SHA_KEY VgbDd550wI6W1rwODGy56QAUkUQwIEdwXG5ziDUUC72BS In order to verify the authenticity of the data returned during the payment form response in the browser

Le cas échéant, à remplacer par les données de votre boutique.

Ajoutez les données suivantes :

NUMBER VARIABLE value Description
5 SERVER https://api.systempay.fr To create theformToken
6 URL_JS https://static.systempay.fr/static/js/krypton-client/V4.0/stable/kr-payment-form.min.js To load our JS library


<?php
/**
 * Define configuration
  * Configuration initialisation, using Lyra account informations.
 * provided in your Back Office (Menu: Settings > Shop > API REST Keys).
 
 **/
// DEMO SHOP
define('USERNAME', '73239078');
define('PASSWORD', 'testpassword_SbEbeOueaMDyg8Rtei1bSaiB5lms9V0ZDjzldGXGAnIwH');
define('PUBLIC_KEY', '73239078:testpublickey_Zr3fXIKKx0mLY9YNBQEan42ano2QsdrLuyb2W54QWmUJQ');
define('SHA_KEY', 'VgbDd550wI6W1rwODGy56QAUkUQwIEdwXG5ziDUUC72BS');
define('SERVER', 'https://api.systempay.fr');
$URL_JS = 'https://static.systempay.fr/static/js/krypton-client/V4.0/stable/kr-payment-form.min.js';


// SUBSTITUTE BY MERCHANT SHOP (Menu: Settings > Shop > API REST Keys)
// define('USERNAME', 'KEY Number 1');
// define('PASSWORD', 'KEY Number 2');
// define('PUBLIC_KEY', 'KEY Number 3');
// define('SHA_KEY', 'KEY Number 4');
// define('SERVER', 'KEY Number 5');
// $URL_JS = 'KEY Number 6';


 /*DOMAIN_URL : racine domaine URL_JS */
define('DOMAIN_URL', strstr($URL_JS,'/static/',true));

?>

Pour information, DOMAIN_URL correspond la racine de l'URL JavaScript : https://static.systempay.fr/static/js/krypton-client/V4.0/stable/kr-payment-form.min.js.

© 2025 {'|'} All rights reserved to Systempaylegal
25.20-1.11