Using Stripe
With Ploi Core, it is possible to use Stripe for your billing.
Head over to https://dashboard.stripe.com/apikeys to get your API keys.
Next, enter these values in your .env configuration file:
STRIPE_KEY=pk_***
STRIPE_SECRET=sk_***
CASHIER_MODEL=App\Models\User
Next, we'll need to create products in Stripe that you can attach to your packages. Head over to https://dashboard.stripe.com/products and create a new product.
After you've created, copy the Price ID:
After that, head over to your Ploi Core installation and go to the administration area -> packages. Edit the package you want to attach the product from Stripe too:
To verify it is working, head over to your profile and check if your packages are listed there.