-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Authorize.net API #33
Comments
Would love it - I'm not an Authorize.net user so would be looking for a contributor. I can provide technical guidance. All one has to do is write the glue to translate authorize.net parameters into cfpayment parameters. |
@cypersonic made lot of progress related to this & some more work, Not sure, why he haven't made PR for those? cmd-ltd@df9d7ad |
@cybersonic I think you were mis-tagged above? |
Hi, Does this library work with Authorise.net? would something like this work
sorry if its somewhere explained, and I overlooked it. New to CF and this. |
This question has been around for a while, so let me give some general advice. A more modern solution would be to find their REST endpoint and just run against it. Why?
|
@jmohler1970 Thanks for your reply. I was afraid this was gonna be the case. But your advise is great and I'll look at their site for any REST implementation. They have API endpoints that accepts JSON and XML so most probably I'll have to roll my own code. Thanks again. |
I did a lot of the Auth.Net work on this a while back but have since stopped working for that client and don't have the source code. I would really suggest using their rest end point directly. IIRC it was a real PITA otherwise. If there is a more modern approach use that. |
Two quick additional words of advice.
|
@cybersonic You are absolutelly right about that :), looking into their site now. @jmohler1970 I read about the structure stuff somewhere and you confirmed it for me. Awesome tips. Really grateful. And yes postman seems a sane option to start with. I'm not good at this stuff otherwise I would say I'll try a PR. Wished I could. |
I can't remember which provider it was but they wanted ordered structs in JSON and that was just mind-blowing to develop against if you didn't know! |
I think I had to deal with that once. Some company internally converted JSON input into XML. JSON is normally not position sensitive, but XML is. So you had to create a JSON with data in the right order [sic] so that internally it could create the XML. No where was that documented. |
O wow, Now I get it. such quirks are really difficult to deal with in CF world. I've been bitten by such scenarios a couple of times. One such thing is CF and lucee differences for handling JSON and form[] arrays. |
@bsienn - I'd recommend still using cfpayment as your base library but echo what Mark said about integrating against the REST API directly. cfpayment still provides valuable base functionality to help abstract away gateway-specific implementations. Even if you never switch providers, some of the abstractions may be helpful in building an elegant system. |
@ghidinelli HI, Thanks for your reply. I'm no where near as much skilled in libraries as the contributors of this project. But I do have plan on making payment gateways for stripe, 2checkout and paypal so that I could use them for my clients' projects. I'm just starting my career as a freelancer and these payment gateways are essential in custom development. I do have 4+ years of developments experience in php, vuejs and 2+ in CF. |
Any plans to add support for the new Authorize.net API?
The text was updated successfully, but these errors were encountered: