Minor: Improvements in buycourses plugin documentation and translations

pull/4265/head
Yannick Warnier 4 years ago
parent cfc1d96523
commit 42149c53bb
  1. 5
      plugin/buycourses/CHANGELOG.md
  2. 2
      plugin/buycourses/README.md
  3. 2
      plugin/buycourses/lang/english.php
  4. 7
      plugin/buycourses/lang/french.php

@ -1,9 +1,8 @@
v7.2 - 2021-11-22 v7.2 - 2021-11-22
==== ====
Add Strype payments support. Add Stripe payments support.
The file update.php must be executed to update the structure of the tables If the plugin has already been installed, the update.php script must be executed (load plugin/buycourses/update.php in your browser) to update the structure of the tables in the database.
in the database.
v7.1 - 2021-10-26 v7.1 - 2021-10-26
==== ====

@ -30,4 +30,4 @@ enable new features.
Please note that updating Chamilo does *NOT* automatically update the plugins Please note that updating Chamilo does *NOT* automatically update the plugins
structure. structure.
You can find a history of changes in the [CHANGELOG.md file](./CHANGELOG.md) You can find a history of changes in the [CHANGELOG.md file](../../plugin/buycourses/CHANGELOG.md)

@ -268,7 +268,7 @@ $strings['CouponsCode'] = "Code";
$strings['DoYouHaveACoupon'] = "Do you have a coupon?"; $strings['DoYouHaveACoupon'] = "Do you have a coupon?";
$strings['stripe_enable'] = "Enable Stripe"; $strings['stripe_enable'] = "Enable Stripe";
$strings['StripeConfig'] = "Stripe configuration:"; $strings['StripeConfig'] = "Stripe configuration:";
$strings['InfoStripeCredentials'] = "To obtain the credentials you must first create an account in Stripe, copy the account id from your profile, go to the API Keys configuration secton and copy the secret key, finally you must register a new Endpoint in the webhooks section to https://{site}/plugin/buycourses/src/stripe_response.php for the payment_intent.succeeded event type and copy the secret of the Endpoint."; $strings['InfoStripeCredentials'] = "To obtain the credentials you must first create an account in Stripe, copy the account id from your profile, go to the API Keys configuration section and copy the secret key, finally you must go to the Developers button (top right), register a new Endpoint in the Webhooks section, pointing to https://{site}/plugin/buycourses/src/stripe_response.php for the payment_intent.succeeded event type and copy the secret of the Endpoint.";
$strings['StripeAccountId'] = "Account id:"; $strings['StripeAccountId'] = "Account id:";
$strings['StripeSecret'] = "Secret key:"; $strings['StripeSecret'] = "Secret key:";
$strings['StripeEndpointSecret'] = "Endpoint secret:"; $strings['StripeEndpointSecret'] = "Endpoint secret:";

@ -194,3 +194,10 @@ $strings['ConfigureCoupon'] = "Configurer le coupon";
$strings['DiscountCoupon'] = "Coupons de ristourne"; $strings['DiscountCoupon'] = "Coupons de ristourne";
$strings['CouponsCode'] = "Code"; $strings['CouponsCode'] = "Code";
$strings['DoYouHaveACoupon'] = "Vous avez un coupon?"; $strings['DoYouHaveACoupon'] = "Vous avez un coupon?";
$strings['stripe_enable'] = "Activer Stripe";
$strings['StripeConfig'] = "Configuration de Stripe:";
$strings['InfoStripeCredentials'] = "Pour obtenir les données de connexion, vous devez d'abord réer un compte Stripe (ce qui prend un certain temps), puis copier l'ID du compte depuis votre profil et le renseigner ici. Puis aller dans la configuration des clefs API et copier la clef secrète. Enfin, suivre le bouton 'Développeurs' (haut droite), enregistrer un nouveau Endpoint dans la section Webhooks, le pointer vers l'URL https://{site}/plugin/buycourses/src/stripe_response.php et l'associer à l'événement payment_intent.succeeded et copier le secret du Endpoint ici.";
$strings['StripeAccountId'] = "ID du compte:";
$strings['StripeSecret'] = "Clef secrète:";
$strings['StripeEndpointSecret'] = "Secret du Endpoint:";
$strings['PendingReasonByStripe'] = "<b>Un instant...</b>. En attente de confirmation du paiement...";

Loading…
Cancel
Save