-
Notifications
You must be signed in to change notification settings - Fork 973
StripeYPT Plugin
walt93 edited this page Oct 12, 2023
·
6 revisions
The StripeYPT plugin is a critical AVideo module used for various purposes, including accepting payments. This guide provides detailed steps on how to set it up, including how to input the required parameters.
You need to have a Stripe account. If you don't have one, you can create it at Stripe's website.
- Log into your Stripe Dashboard.
- Here, you will find your publishable (format
pk_***
) and restricted keys (formatrk_***
).
- Go to your AVideo platform and navigate to the StripeYPT plugin settings.
- Enter your Stripe publishable key and restricted key in the respective fields.
- Make the first purchase attempt through your AVideo platform. This will trigger the creation of the webhook on Stripe's end. This attempt will not succeed but is a necessary step for the webhook creation.
- Once the webhook is auto-created, Stripe will generate the signing secret (format
whsec_****
). - Go to your Stripe Dashboard's Webhooks settings to retrieve the signing secret.
- Click on the "Click to reveal" button next to the relevant webhook endpoint to reveal the secret.
- Return to the StripeYPT plugin settings in your AVideo platform.
- Enter the Signing Secret in the respective field.
- The StripeYPT plugin allows you to customize the labels on your subscription and one-time payment buttons.
- Provide your custom labels in the
subscriptionButtonLabel
andpaymentButtonLabel
fields.
- After entering all the required information, ensure to save your settings.
By following these steps, you can fully set up the AVideo StripeYPT plugin. Now your AVideo platform can process payments via Stripe and display your customized labels on subscription and payment buttons.