Community
Showing results for 
Search instead for 
Do you mean 
Reply

github.com

Bronze Super Contributor
Posts: 1,231
Country: USA

github.com

[ Edited ]

I have been slow to understand the github shift. Small glimpses of shock and awe, maybe but very unaware of its power.

 

That all changed today!

 

I needed to update my cc transactions to a subscription/recurring model. The last code requires for the Impact Suite v7 release!

I was not happy changing my stores code which has been running unchanged for 10+ years. I still run Server 2003.

 

After a quick search of the www.authorize.net I found a link to the github project

https://github.com/AuthorizeNet/sdk-dotnet

 

A simple PM> Install-Package AuthorizeNet then  download ZIP button I has access to EVERYTHING I needed.

 

I had instant access to all the require features:

  • CreateSubscription(apiLoginId, transactionKey);
  • CancelSubscription(apiLoginId, transactionKey);
  • GetListOfSubscriptions(apiLoginId, transactionKey);
  • GetSubscriptionStatus(apiLoginId, transactionKey);
  • UpdateSubscription(apiLoginId, transactionKey);

 

Github project are very cool. How about the dev team start an ACT github project?

 

-- JIm Durkin

 

Employee
Posts: 236
Country: USA

Re: github.com

Funny you should ask Jim, we'll be releasing code on Github at the conference tomorrow related to Web API.

 

--Xavier

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: github.com

Can you post the address in here when its public?

 

Thanks

-- Jim 

Employee
Posts: 236
Country: USA
Bronze Super Contributor
Posts: 1,231
Country: USA

Re: github.com

 

Downloaded and installed. 

 

I was looking forward to this project but I was highly disappointed after installation.

 

Here are my quick notes

 

  • It looks like its made from a simply app builder(?) Are all the; scripts code, fonts, views, content files required?

  • Nothing on the screen says "Act" or "Swiftpage" anywhere. Nothing to make me realize I was running the right solutions.

  • All the LEARN MORE buttons point to Microsoft and ASP.Net web sites.http://go.microsoft.com/fwlink/?LinkId=301865

  • I had to open and hunt through the code files to figure out the black bar at the top was a menu system and I needed to click the "Signup to hear more" to see any sample

  • I found some example code for tasks but with no UI I could run them

  • In the homeControler.cs code SampleWebAPIConsumer.Controllers there is lierally only one line of documentation
      // headers need to be set before flushing stream, as when manually setting ContentLength, the request is sent as soon as the stream is flushed.

  • The ACT internal development team may have a complete understanding the third party tools used in this example. Not all 3rd party developer understand;  Antlr3.Runtime.dll  Newtonsoft.Json.dll WebGrease.dll
    Specifically, I have never used Antlr3 and WebGrease. What are they for?  Is ACT locked into these version like other 3rd party desktop tools from C1, Janus, ActiveDatabaseSoftware

  • When I filled out the 'Signup' page and click Submit I get the error:
  • Object reference not set to an instance of an object.

 

var contactInGroup = await CallServer<HttpWebResponse, object>("api/groups/" + id + "/contacts/" + contact.ID, null, "PUT");

 

 

Yes, I realize it a simple example and its not hooked to anything.

 

Without any documentation its very useless. First impressions last forever.

 

Sorry, "swwwwwing and a miss"

 

 

-- Jim Durkin

 

 

Employee
Posts: 236
Country: USA

Re: github.com

Jim, the sample wasn't meant as way to learn ASP.NET MVC and standard dependencies, but a rather for an ASP.NET developer to drop this in a web site / portal / app easily.  It is fully functional, as long as you configure correctly the values (group name, credentials, database etc..) in the config file.  Granted, we probably should add a readme to github with just that.  We also should point out what this does - simple form to create a contact and add it to a group (normal lead gen).  Good thing about github is we can easily update it.

 

HTH

 

 

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: github.com

 

 

If you do not know what values need to entered then it's not a 'fully functional'. Just saying

 

-- Jim Durkin