• France
status page
demonstrations
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
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 42229744 For calls to REST Web Services
2 PASSWORD testpassword_IvhGC31Fb7m48mNmgdmRSGa5RkGy5nc0FXcvR1uKog8Ms For calls to REST Web Services
3 PUBLIC_KEY 42229744:testpublickey_tPXxrUVsoGkggk9LuO8o0PBRdWg8jWUhWmYMURwCbc8ap For creating a payment form in the Buyer's browser.
4 SHA_KEY 6klxDwclNHwoyyLFMuFI6E2LnwVW92YimK9pnRdY5BBkr 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.scelliuspaiement.labanquepostale.fr To create theformToken
6 URL_JS https://static.scelliuspaiement.labanquepostale.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', '42229744');
define('PASSWORD', 'testpassword_IvhGC31Fb7m48mNmgdmRSGa5RkGy5nc0FXcvR1uKog8Ms');
define('PUBLIC_KEY', '42229744:testpublickey_tPXxrUVsoGkggk9LuO8o0PBRdWg8jWUhWmYMURwCbc8ap');
define('SHA_KEY', '6klxDwclNHwoyyLFMuFI6E2LnwVW92YimK9pnRdY5BBkr');
define('SERVER', 'https://api.scelliuspaiement.labanquepostale.fr');
$URL_JS = 'https://static.scelliuspaiement.labanquepostale.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.scelliuspaiement.labanquepostale.fr/static/js/krypton-client/V4.0/stable/kr-payment-form.min.js.

© 2025 {'|'} All rights reserved to Scellius
25.18-1.11