Skip to content

How to setup paypal

ninacoder-info edited this page Oct 19, 2020 · 2 revisions

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)

Screen Shot 2020-10-19 at 17 41 51 Screen Shot 2020-10-19 at 17 42 12 Screen Shot 2020-10-19 at 17 43 25

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

Done