I have installed all the files and believe all are mapped correctly.
I am trying to do a charge with stripetoken and keep getting the following coldfusion error.
Exceptions
08:37:31.031 - Application Exception - in
C:/Users/xxxx/Documents/1Test/Coldfusion/Devcf/cfpayment/api/gateway/stripe/stripe.cfc
: line 833
Could not find the ColdFusion component or interface cfpayment.api.model.response.
The file response.cfc is in the model folder, and in the debugging info it looks like creditcard.cfc and money.cfc in the same folder are executed.
Here is my application.cfm settings:
<cfset this.mappings[ "/cfpayment" ] = "C:/Users/xxxx/Documents/1Test/Coldfusion/Devcf/cfpayment/ " /><!---<cfset this.rootDir = getDirectoryFromPath(getCurrentTemplatePath()) />
<cfscript>
cfg = { path = "stripe.stripe", TestSecretKey = "sk_test_lqu5Caq2AvzrT2ncSIvAzwQw" };
svc = createObject("component", "cfpayment.api.core").init(cfg);
gw = svc.getGateway();
</cfscript>
and here is the purchase:
account = svc.createCreditCard().setAccount(form.stripetoken).setFirstName("John").setLastName("Doe");
sAmount = svc.createMoney(5000);
response = gw.purchase(money = sAmount, account = account);
Thanks in advance for any help.