Skip to content

Commit 8e1e3a4

Browse files
committed
Plugin: Buycourse: adapt documentation for webhook configuration on stripe to work with new API -refs BT#20825
1 parent 00c90f0 commit 8e1e3a4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugin/buycourses/lang/english.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
$strings['DoYouHaveACoupon'] = "Do you have a coupon?";
269269
$strings['stripe_enable'] = "Enable Stripe";
270270
$strings['StripeConfig'] = "Stripe configuration:";
271-
$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.";
271+
$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 checkout.session.completed event type and copy the secret of the Endpoint.";
272272
$strings['StripeAccountId'] = "Account id:";
273273
$strings['StripeSecret'] = "Secret key:";
274274
$strings['StripeEndpointSecret'] = "Endpoint secret:";

plugin/buycourses/lang/french.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
$strings['DoYouHaveACoupon'] = "Vous avez un coupon?";
197197
$strings['stripe_enable'] = "Activer Stripe";
198198
$strings['StripeConfig'] = "Configuration de Stripe:";
199-
$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.";
199+
$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 checkout.session.completed et copier le secret du Endpoint ici.";
200200
$strings['StripeAccountId'] = "ID du compte:";
201201
$strings['StripeSecret'] = "Clef secrète:";
202202
$strings['StripeEndpointSecret'] = "Clef secrète du Endpoint:";

plugin/buycourses/lang/spanish.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
$strings['DoYouHaveACoupon'] = "¿Tienes un cupón descuento?";
269269
$strings['stripe_enable'] = "Activar Stripe";
270270
$strings['StripeConfig'] = "Configuración de Stripe:";
271-
$strings['InfoStripeCredentials'] = "Para obtener las credenciales debes crear una cuenta en Stripe, copiar el id de cuenta de tu perfil, ir a la sección de configuración de las claves API y copiar la secret key, por último deberá registrar un nuevo Endpoint en la sección de webhooks a https://{site}/plugin/buycourses/src/stripe_response.php para el tipo de evento payment_intent.succeeded y copiar el secret del Endpoint.";
271+
$strings['InfoStripeCredentials'] = "Para obtener las credenciales debes crear una cuenta en Stripe, copiar el id de cuenta de tu perfil, ir a la sección de configuración de las claves API y copiar la secret key, por último deberá registrar un nuevo Endpoint en la sección de webhooks a https://{site}/plugin/buycourses/src/stripe_response.php para el tipo de evento checkout.session.completed y copiar el secret del Endpoint.";
272272
$strings['StripeAccountId'] = "Id de la cuenta:";
273273
$strings['StripeSecret'] = "Secret key:";
274274
$strings['StripeEndpointSecret'] = "Endpoint secret:";

0 commit comments

Comments
 (0)