diff --git a/plugin/buycourses/CHANGELOG.md b/plugin/buycourses/CHANGELOG.md index 2daa558a8c..04d691d54f 100644 --- a/plugin/buycourses/CHANGELOG.md +++ b/plugin/buycourses/CHANGELOG.md @@ -1,9 +1,8 @@ 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 - in the database. +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. v7.1 - 2021-10-26 ==== diff --git a/plugin/buycourses/README.md b/plugin/buycourses/README.md index 7578fc5760..01f48a52bf 100644 --- a/plugin/buycourses/README.md +++ b/plugin/buycourses/README.md @@ -30,4 +30,4 @@ enable new features. Please note that updating Chamilo does *NOT* automatically update the plugins structure. -You can find a history of changes in the [CHANGELOG.md file](./CHANGELOG.md) \ No newline at end of file +You can find a history of changes in the [CHANGELOG.md file](../../plugin/buycourses/CHANGELOG.md) diff --git a/plugin/buycourses/lang/english.php b/plugin/buycourses/lang/english.php index 1d47c81ead..cc83fef0bf 100644 --- a/plugin/buycourses/lang/english.php +++ b/plugin/buycourses/lang/english.php @@ -268,7 +268,7 @@ $strings['CouponsCode'] = "Code"; $strings['DoYouHaveACoupon'] = "Do you have a coupon?"; $strings['stripe_enable'] = "Enable Stripe"; $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['StripeSecret'] = "Secret key:"; $strings['StripeEndpointSecret'] = "Endpoint secret:"; diff --git a/plugin/buycourses/lang/french.php b/plugin/buycourses/lang/french.php index 65b2b1cedb..892ac2e822 100644 --- a/plugin/buycourses/lang/french.php +++ b/plugin/buycourses/lang/french.php @@ -194,3 +194,10 @@ $strings['ConfigureCoupon'] = "Configurer le coupon"; $strings['DiscountCoupon'] = "Coupons de ristourne"; $strings['CouponsCode'] = "Code"; $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'] = "Un instant.... En attente de confirmation du paiement...";