/php-stripe-checkout-subscription-server-side

PHP Stripe checkout + subscription server side integration with sample checkout page + send subscription payment to stripe connected account

Primary LanguagePHP

php-stripe-checkout-subscription

Raw PHP Stripe Server Side Complete checkout + subscriptions at a time with nice checkout page

Stripe send subsccription payment to connected account

https://stripe.com/docs/connect/subscriptions

Setup Guide

  1. Clone the repo
  2. Delete vendor folder or you may keep if its relevant with the date of library
  3. Fresh install Stripe PHP library, run the command: composer require stripe/stripe-php
  4. Set stripe secret and publishable key
  5. Set subscription based product price id
  6. Set Stripe connected account id
  7. Its just sample Raw PHP Stripe Integration code, you may make more elegant structure as per your needs
  8. Done