Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

mavelar/ColdFusion-Stripe-CFC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

This is a ColdFusion wrapper for the Stripe.com API (http://stripe.com)

It supports all the methods of the Stripe API.

Compatible with Railo and Adobe ColdFusion.


BASIC USAGE - works great with Stripe.js (https://gist.github.com/1084146) although it is not necessary

Within your Application.cfc place the following code:

application.stripeApiKey = 'YOUR STRIPE SECRET PUBLISHABLE KEY';
application.Stripe = createObject('component','path.to.Stripe').init(stripeApiKey=application.stripeApiKey);


On the page you want to process payments:

local.StripeResult = application.Stripe.createCharge(amount=form.amount,card=form.stripeToken,description='Payment for products');

About

ColdFusion Wrapper for Stripe.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ColdFusion 100.0%