Installation
Installing the Magento 2 Recurring Plan For Discount module is a simple and straightforward process. Follow the steps below to successfully install and prepare the extension for use.
Option A — Install from Zip Package
Use this method if you downloaded the module package directly from the Webkul Store.
1. Download Module
Log in to your Webkul Store account, navigate to My Account > My Purchased Products, and then download and extract the contents of the module zip folder on your local machine.
2. Upload Folder
Once the module zip is extracted, navigate to src/app. Connect to your server via SSH/SFTP (such as FileZilla). Copy the app folder and upload it into your Magento 2 root directory on the server. The files should reside under app/code/Webkul/RecurringPlanForDiscount/.

3. Run Commands
Run the following commands in sequence in the Magento 2 root directory via terminal:
composer require stripe/stripe-php
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush
You can also flush the cache directly from the admin panel by navigating to System > Tools > Cache Management and clicking the Flush Magento Cache button.

Option B — Install with Composer
Use this method if you have purchased access via Composer repository:
- Add your provided access keys during purchase.
- Run the Composer require command to install the package:
composer require webkul/recurring-plans-for-discount
- Complete the installation by running the Magento deployment commands listed in Option A > 3. Run Commands.
Language Translation
The module supports multiple languages, including both RTL (Right-to-Left) and LTR (Left-to-Right) layouts. To translate the module into another language (e.g., German, Spanish, French):
- Navigate to the module's i18n directory:
app/code/Webkul/RecurringPlanForDiscount/i18n. - Open the
en_US.csvfile. - Save a copy of the CSV file matching your target locale, for example,
de_DE.csvfor German ores_ES.csvfor Spanish. - Translate all text strings on the right side of the comma into your target language while preserving the original English strings on the left.
- Save and upload the translated file to
app/code/Webkul/RecurringPlanForDiscount/i18non your server.

- In your Magento Admin panel, navigate to Stores > Configuration > General > General > Locale Options and select your desired locale.

- Run the static content deployment and cache flush commands again.
The module will now be translated into your selected language.
Translation Note
Never modify the structure of the CSV file or the English identifiers on the left side of the comma. Only translate the text on the right side.
