Skip to content

Commit

Permalink
Removed references to SystemPay
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Allimant committed Feb 7, 2022
1 parent 1701f7d commit e4fbe02
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 31 deletions.
6 changes: 3 additions & 3 deletions Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<fullnamespace>PayzenEmbedded\PayzenEmbedded</fullnamespace>
<descriptive locale="en_US">
<title>Pay by credit card with PayZen</title>
<subtitle>Your customers can enter their credit card information without leaving your shop. This module could also be used for all SystemPay based payement systems.</subtitle>
<subtitle>Your customers can enter their credit card information without leaving your shop. This module could also be used for all Lyra based payement systems.</subtitle>
</descriptive>
<descriptive locale="fr_FR">
<title>Payez par carte bancaire avec PayZen</title>
<subtitle>Vos client saisissent les informations de leur carte de paiement sans sortir de votre boutique. Ce module peut aussi être utilisé pour tous les systèmes de paiement basés sur SystemPay de Lyra Networks</subtitle>
<subtitle>Vos client saisissent les informations de leur carte de paiement sans sortir de votre boutique. Ce module peut aussi être utilisé pour tous les systèmes de paiement basés sur Lyra</subtitle>
</descriptive>

<languages>
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.0.6</version>
<version>1.0.7</version>
<authors>
<author>
<name>Franck Allimant</name>
Expand Down
4 changes: 2 additions & 2 deletions Form/ConfigurationForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function buildForm()
'label' => $this->trans('Username'),
'data' => PayzenEmbedded::getConfigValue('site_id', '69876357'),
'label_attr' => array(
'help' => $this->trans('This is your shop identifier. You received this information when you subscribed to PayZen/SystemPay')
'help' => $this->trans('This is your shop identifier. You received this information when you subscribed to PayZen')
)
)
)
Expand Down Expand Up @@ -131,7 +131,7 @@ protected function buildForm()
'label' => $this->trans('Web Services end point'),
'data' => PayzenEmbedded::getConfigValue('webservice_endpoint', 'https://api.payzen.eu'),
'label_attr' => array(
'help' => $this->trans('This is the URL of the web service. You should change this value if you\'re usin a SystemPay implementation instead of PayZen')
'help' => $this->trans('This is the URL of the web service. You should change this value if you\'re usin a specific Lyra implementation instead of PayZen')
)
)
)
Expand Down
4 changes: 2 additions & 2 deletions I18n/en_US.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
'The test password. This is the "Test Password" in the PayZen Expert Back Office' => 'The test password. This is the "Test Password" in the PayZen Expert Back Office',
'This amount should be greater or equal to the current transaction amount' => 'This amount should be greater or equal to the current transaction amount',
'This information is passed with the payment request, and will be available in your PayZen back-office' => 'This information is passed with the payment request, and will be available in your PayZen back-office',
'This is the URL of the web service. You should change this value if you\'re usin a SystemPay implementation instead of PayZen' => 'This is the URL of the web service. You should change this value if you\'re usin a SystemPay implementation instead of PayZen',
'This is your shop identifier. You received this information when you subscribed to PayZen/SystemPay' => 'This is your shop identifier. You received this information when you subscribed to PayZen/SystemPay',
'This is the URL of the web service. You should change this value if you\'re usin a specific Lyra implementation instead of PayZen' => 'This is the URL of the web service. You should change this value if you\'re usin a specific Lyra implementation instead of PayZen',
'This is your shop identifier. You received this information when you subscribed to PayZen' => 'This is your shop identifier. You received this information when you subscribed to PayZen',
'This key is the "HMAC-SHA-256 production key" in the PayZen Expert Back Office' => 'This key is the "HMAC-SHA-256 production key" in the PayZen Expert Back Office',
'This key is the "HMAC-SHA-256 test key" in the PayZen Expert Back Office' => 'This key is the "HMAC-SHA-256 test key" in the PayZen Expert Back Office',
'This key is the "Public production key" in the PayZen Expert Back Office' => 'This key is the "Public production key" in the PayZen Expert Back Office',
Expand Down
4 changes: 2 additions & 2 deletions I18n/fr_FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
'The test password. This is the "Test Password" in the PayZen Expert Back Office' => 'Il s\'agit du "Mot de passe de test" dans le back-office PayZen -> Paramétrage -> Boutique -> Clés d\'API REST',
'This amount should be greater or equal to the current transaction amount' => 'Ce montant doit être inférieur ou égal au montant initial de la transaction',
'This information is passed with the payment request, and will be available in your PayZen back-office' => 'Cette information est transmise avec la requête de paiement, et sera consultable dans le back-office PayZen',
'This is the URL of the web service. You should change this value if you\'re usin a SystemPay implementation instead of PayZen' => 'Il s\'agit du "Nom du serveur de l’API REST" le back-office PayZen -> Paramétrage -> Boutique -> Clés d\'API REST',
'This is your shop identifier. You received this information when you subscribed to PayZen/SystemPay' => 'Il s\'agit de l\'identifiant de votre boutique. Vous le trouverez dans votre back-office PayZen',
'This is the URL of the web service. You should change this value if you\'re usin a specific Lyra implementation instead of PayZen' => 'Il s\'agit du "Nom du serveur de l’API REST" le back-office PayZen -> Paramétrage -> Boutique -> Clés d\'API REST',
'This is your shop identifier. You received this information when you subscribed to PayZen' => 'Il s\'agit de l\'identifiant de votre boutique. Vous le trouverez dans votre back-office PayZen',
'This key is the "HMAC-SHA-256 production key" in the PayZen Expert Back Office' => 'Il s\'agit de la "Clé HMAC-SHA-256 de production" dans le back-office PayZen -> Paramétrage -> Boutique -> Clés d\'API REST',
'This key is the "HMAC-SHA-256 test key" in the PayZen Expert Back Office' => 'Il s\'agit de la "Clé HMAC-SHA-256 de test" dans le back-office PayZen -> Paramétrage -> Boutique -> Clés d\'API REST',
'This key is the "Public production key" in the PayZen Expert Back Office' => 'Il s\'agit de la "Clé publique de production" dans le back-office PayZen -> Paramétrage -> Boutique -> Clés d\'API REST',
Expand Down
44 changes: 22 additions & 22 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Module PayZen pour Thelia

Ce module permet d'intégrer dans votre boutique le système de paiement Payzen ou SystemPay de la société Lyra Networks.
Ce module permet d'intégrer dans votre boutique le système de paiement PayZen de la société Lyra Networks.

## Paiement par carte bancaire

Expand Down Expand Up @@ -48,9 +48,9 @@ Ce mode de fonctionnement est aussi pratique pour faire du débit à l'expéditi
Le module propose un event qui permet de réaliser cette opération programmatiquement, depuis un module de picking par
exemple :

Nom de l'évènement : `PayzenEmbedded::TRANSACTION_UPDATE_EVENT`
Nom de l'évènement : `PayZenEmbedded::TRANSACTION_UPDATE_EVENT`

L'action event `\PayzenEmbedded\Event\TransactionUpdateEvent` permet de définir :
L'action event `\PayZenEmbedded\Event\TransactionUpdateEvent` permet de définir :

- l'ID ($orderId) de la commande concernée,
- le nouveau montant ($amount) de la transaction
Expand Down Expand Up @@ -80,33 +80,33 @@ ou par FTP.

## Utilisation

Pour utiliser le module Payzen, vous devez tout d'abord le configurer. Pour ce faire, rendez-vous dans votre back-office,
onglet Modules, et activez le module Payzen. Cliquez ensuite sur "Configurer" sur la ligne du module, et renseignez les
informations requises, que vous trouverez dans votre outil de gestion de caisse Payzen -&gt; Paramétrage -&gt; Boutiques
Pour utiliser le module PayZen, vous devez tout d'abord le configurer. Pour ce faire, rendez-vous dans votre back-office,
onglet Modules, et activez le module PayZen. Cliquez ensuite sur "Configurer" sur la ligne du module, et renseignez les
informations requises, que vous trouverez dans votre outil de gestion de caisse PayZen -&gt; Paramétrage -&gt; Boutiques
-&gt; *votre boutique*

Lors de la phase de test, vous pouvez définir les adresses IP qui seront autorisées à utiliser le module en front-office,
afin de ne pas laisser vos clients payer leur commandes avec Payzen pendant la phase de test. Une fois le module en production,
afin de ne pas laisser vos clients payer leur commandes avec PayZen pendant la phase de test. Une fois le module en production,
vous pouvez aussi restreindre les IP autorisées à payer avec le module avec le mode "Production restreinte".

## URL de retour

Pour que vos commandes passent automatiquement au statut payé lorsque vos clients ont payé leurs commandes, vous devez
renseigner une **URL de retour** dans votre outils de gestion de caisse Payzen.
renseigner une **URL de retour** dans votre outils de gestion de caisse PayZen.

Cette adresse est formée de la manière suivante: `https://www.votresite.com/payzen-embedded/ipn-callback`
Par exemple, pour le site `thelia.net`, l'adresse en mode test et en mode production serait: `https://www.thelia.net/payzen-embedded/ipn-callback`.

Vous trouverez l'adresse exacte à utiliser dans votre back-office Thelia, sur la page de configuration du module Payzen.
Vous trouverez l'adresse exacte à utiliser dans votre back-office Thelia, sur la page de configuration du module PayZen.

Pour mettre en place cette URL de retour rendez-vous dans votre outil de gestion de caisse Payzen -&gt; Paramétrage -&gt;
Pour mettre en place cette URL de retour rendez-vous dans votre outil de gestion de caisse PayZen -&gt; Paramétrage -&gt;
Boutiques -&gt; *votre boutique*, et copier/collez votre URL de retour dans les champs "*URL de retour de la boutique en mode test*"
et "*URL de retour de la boutique en mode production*".

## Intégration en front-office

L'essentiel de l'intégration est réalisée via les hooks. Le module définit cependant une page de paiement spécifique, qui permet
l'affichage du formulaire embarqué: `PayzenEmbedded/templates/frontOffice/default/payzen-embedded/embedded-payment-page.html`
l'affichage du formulaire embarqué: `PayZenEmbedded/templates/frontOffice/default/payzen-embedded/embedded-payment-page.html`

Vous pouvez mettre cette page aux couleurs de votre template spécifique si nécessaire. Si vous utilisez le formulaire en
pop-in, cette page ne sera pas utilisée.
Expand All @@ -115,7 +115,7 @@ pop-in, cette page ne sera pas utilisée.

# PayZen module for Thelia

This module allows you to integrate Lyra Networks Payzen or SystemPay payment system in your shop.
This module allows you to integrate Lyra Networks PayZen payment system in your shop.

## Payment by credit card

Expand Down Expand Up @@ -158,9 +158,9 @@ The administrator can change :
The module includes an event to programmatically update a transaction, from a picking module for
example:

Event Name: `PayzenEmbedded::TRANSACTION_UPDATE_EVENT`
Event Name: `PayZenEmbedded::TRANSACTION_UPDATE_EVENT`

The event `\PayzenEmbedded\Event\TransactionUpdateEvent` contazins the following information :
The event `\PayZenEmbedded\Event\TransactionUpdateEvent` contazins the following information :

- the ID ($orderId) of the command concerned,
- the new amount ($amount) of the transaction
Expand Down Expand Up @@ -190,32 +190,32 @@ or by FTP.

## Use

To use the Payzen module, you must first configure it. To do this, go to your back office,
Modules tab, and activate the Payzen module. Then click on "Configure" on the line of the module, and fill in the
Required information, which you will find in your Payzen Cash Management Tool - &gt; Settings - &gt; Shops
To use the PayZen module, you must first configure it. To do this, go to your back office,
Modules tab, and activate the PayZen module. Then click on "Configure" on the line of the module, and fill in the
Required information, which you will find in your PayZen Cash Management Tool - &gt; Settings - &gt; Shops
-&gt; *your shop*

During the module test phase, you can define the IP addresses that will be allowed to use the module in the front office,
so as not to let your customers pay for their orders with Payzen during the test phase. Once the module is in production,
so as not to let your customers pay for their orders with PayZen during the test phase. Once the module is in production,
you can also restrict the IPs allowed to pay with the module with the "Restricted Production" mode.

## Return URL

For your orders to automatically go to paid status when your customers have paid their orders, you must
Enter a **Return URL** in your Payzen back-office.
Enter a **Return URL** in your PayZen back-office.

This address is formed as follows: `https://www.yoursite.com/payzen-embedded/ipn-callback`
For example, for the `thelia.net` site, the address in test mode and in production mode would be:` https://www.thelia.net/payzen-embedded/ipn-callback`.

You will find the exact address to use in your Thelia back-office, on the Payzen module configuration page.
You will find the exact address to use in your Thelia back-office, on the PayZen module configuration page.

To set up this return URL go to your Payzen Cash Management Tool -&gt; Settings -&gt;
To set up this return URL go to your PayZen Cash Management Tool -&gt; Settings -&gt;
Shops -&gt; *your shop*, and copy / paste your return URL into the fields "*Shop return URL in test mode*"
and "*Return URL of the store in production mode*".

## Front Office Integration

Most of the integration is done via hooks. The module defines a specific payment page, which allows
Embedded form display: `PayzenEmbedded/templates/frontOffice/default/payzen-embedded/embedded-payment-page.html`
Embedded form display: `PayZenEmbedded/templates/frontOffice/default/payzen-embedded/embedded-payment-page.html`

You can style this page to match your specific template.

0 comments on commit e4fbe02

Please # to comment.