Raw PHP Stripe Server Side Complete checkout + subscriptions at a time with nice checkout page
https://stripe.com/docs/connect/subscriptions
- Clone the repo
- Delete vendor folder or you may keep if its relevant with the date of library
- Fresh install Stripe PHP library, run the command: composer require stripe/stripe-php
- Set stripe secret and publishable key
- Set subscription based product price id
- Set Stripe connected account id
- Its just sample Raw PHP Stripe Integration code, you may make more elegant structure as per your needs
- Done