• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
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
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Code samples

'sample' file in GitHub

For each step of the integration, we provide a simplified example in PHP (link from GitHub: sample folder )

  1. Renseignez les clés d'API REST de Test ou de Production dans le fichier config.php(Fichier d'exemple : config.php).

  2. Si besoin, modifiez les données du paiement dans le fichier formToken.php(Fichier d'exemple : formToken.php).

  3. Display the payment form in a browser according to the desired display mode:

  • smartForm.php(Example file: smartForm.php)
  1. Once the form is displayed, proceed with the payment. In Test mode, click on the Test cards tab of the debug bar and select the card type.

  2. Récupérez les données de l'IPN, lors de l'appel de serveur à serveur grâce au fichieripn.php(Fichiers d'exemple : ipn.php et paid.php).

  3. Redirigez l'acheteur en cas de paiement réussi vers le site marchand grâce au fichierpaid.php(Fichiers d'exemple : ipn.php et paid.php).

Another example in PHP

Here is a link for another Example PHP code.

Integration examples: C# / Python (Flask) / Symfony

Framework Description
Angular example of integration for Angular
ember example of integration for Ember
ionic example of integration for Ionic
next integration example for Next
React example of integration for React
server integration example for Server
svelte integration example for Svelte
vue example of integration for Vue.js
require.js example of integration with RequireJS
Jobs
Legal
GDPR
25.18-1.11