- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Installation
Step 1: Install the Package via Composer
To integrate Stegback Ratepay into your Laravel project, run the following command in your terminal:
composer require stegback/ratepay
Step 2: Define Environment Variables
After installation, you need to set up the necessary credentials in your .env
file. These credentials include your Ratepay profile ID and security code, which are essential for authenticating requests to the Ratepay API.
Open your .env
file and add the following lines:
PROFILE_ID="your_ratepay_profile_id_here"
SECURITY_CODE="your_ratepay_security_code_here"
SHOP_NAME=""
Step 3: Define Service provider in config/app.php
in providers
\Stegback\Ratepay\RatepayServiceProvider::class,
Step 4: Force Publish vendore views
php artisan vendor:publish --tag=stegback-ratepay-views --force
Was this article helpful?