Billing Client
PHP client for Plasso Billing
How to use it
- Copy & paste the contents of
client.php
into your code base (or include it). - Uncomment the initalization line to ensure the code runs. This line:
$plassoBilling = new PlassoBilling( ...
- (Optional) You can access the Plasso User's
id
with:$plassoBilling->plassoUserId
- (Optional) You can access the Plasso User's
planId
with:$plassoBilling->plassoPlanId
- (Optional) You can access the Plasso User's Stripe Customer ID with:
$plassoBilling->stripeCustomerId
Where to place the client code
At the very beginning of your script, on the pages you want to protect.