How to setup paypal - ninacoder-info/music-engine-web-wiki GitHub Wiki

First of all, please make sure you have a business account (for subscription and auto payment)

Follow this link to create your app

https://developer.paypal.com/developer/applications/

There is 2 type of app, make sure you choose LIVE (if you don't want to test with sandbox)

Copy your Client ID and Secret Key.

Open .env (the file located in the root of Music Engine Project). Find PAYPAL_APP_CLIENT_ID and PAYPAL_APP_SECRET then fill up your key.

PAYPAL_APP_CLIENT_ID=ATukahwfoawChOh5GaSDnwWXVcfrZ0fIKmHsIJbC2onGh_fmIJIWy01EgrXqcfVSsawf
PAYPAL_APP_SECRET=INWFNDJF32hbfWupKjCj-oiE4XVkUzKPSgHBNV61yoqMoHzHGrB9YqHM4wq9hbd6ZlLcI_iHWHDG

Don't forget login in to your admin, Settings -> Payments tab, turn off the paypal sandbox.

Done