Clone this repository
git clone https://github.com/programacionjje/laravel-openpay.git
Generate APP_KEY
php artisan key:generate
Add MERCHANT_ID, SECRET_KEY AND AMOUNT in the .env file
OPENPAY_ID=****
OPENPAY_SK=sk_****
OPENPAY_PRODUCTION_MODE=false
OPENPAY_ENVIROMENT=https://sandbox-api.openpay.mx/v1/
OPENPAY_AMOUNT=
Run
composer install
in the project
valet link
valet open