Residual income is where its at. Someday I hope to come up with something that can really make money. Not sure if it will be a SaaS or maybe just a successful site that gives me a cut of the sales. Who knows.
As for Stipe, I used their javascript library that just takes a couple lines of HTML on the front end. That pulls in their JS and generates the entire front-end which the user fills out. It does all the validation and then pre-auths the transactions and POSTS back a token.
On the back end, I included their PHP SDK and just submit that token back to their API to make the actual charge. The extent of the code basically looks like this:
if(isset($_POST['stripeToken']))
{
require_once(_app_server_path.'core/libs/stripe/init.php');
\Stripe\Stripe::setApiKey("sk_live_somerandomcodetheygameme");
$token = $_POST['stripeToken'];
// Charge the user's card:
$charge = \Stripe\Charge::create(array(
"amount" => 1900,
"currency" => "usd",
"description" => "Material theme for OpenVBX",
"source" => $token,
));
if($charge->status = "succeeded")
{
// my code to e-mail the use and save the transaction to the database etc.
}
Super easy!