Link to home
Start Free TrialLog in
Avatar of dgrafx
dgrafxFlag for United States of America

asked on

Sage Payment Solutions - U.S.

I'm looking for example code in ColdFusion.
It can be simple or advanced.
The type of code I'm looking for is the submitting of payment data for processing - ya know credit card info and an amount - then a response.
The company doesn't have exampe code in ColdFusion.

This is the company website (one of them)
http://go.na.sage.com/sage-payment-solutions-products-services?WT.srch=1&srch=google&gclid=CKX6ipjPsr0CFS1eOgodBWAACQ
Avatar of Rodrigo Munera
Rodrigo Munera
Flag of United States of America image

Sage Payments solutions doesn't offer an open development platform, you have to enroll with them as a developer in order to access their API (and it seems they offer several options from side-to-side to full integration) before you can access their SDK.

I doubt you're going to find simple sample code to submit a payment to what appears a closed proprietary SDK platform.

http://na.sage.com/us/partners/payment-solutions#development
Avatar of dgrafx

ASKER

I am aware of this.
I have a developer account.
They don't have example code in ColdFusion is what the question revolved around.
Was hoping to find another developer who had some example code.

Thanks
(Edit)

(no points... I don't have an answer either)

I was holding off leaving a comment since threads with 0 responses tend to attract more attention, but ... now that there's activity on this thread:

You probably thought of this already, but what languages do they provide examples for - any C# or java? Might be easier to dissect / adapt either of those since CF can interop with either of those.
Avatar of dgrafx

ASKER

I've been aware that CF can do this for some time but have never done it.
Where in the docs is this? i.e. what tag(s) is that?

This would at least allow me to test and get a feel.
But the task that I'm charged with is to help with some CF code for the customer.
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
See updates to last post.

>  i.e. what tag(s) is that?
> Take a look at the createObject() docs.  

BTW, you can also use the tag based version <cfobject>, but personally I don't see any advantage to it. createObject() does the same thing and with java/c# code function calls are more natural. Especially when using cfscript rather than cfml.
Hm.. just noticed the "Web Services" in the question tags. If the API you're trying to use a is web service of some kind, then it's entirely possible you don't need java/c# objects at all (beyond dissecting the examples). Most payment gateway web services are just a matter of posting the right parameters w/cfhttp, which is a lot easier.

Sounds like you're already getting help for that on your other thread.. If you do end up needing help w/any c# or java examples, let me know. Otherwise, feel free to delete this thread if Scott is be able to help you get you where you need to go with the xml stuff.
Avatar of dgrafx

ASKER

thanks
yes i'm mostly looking for simple how to as in this step first and this step second etc.

i appreciate it
Avatar of dgrafx

ASKER

This provided me with some info that I had never dug into before ...
Thanks