chargify Wiki Rss Feedhttp://chargify.codeplex.com/wikipagechargify Wiki Rss DescriptionUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=31<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br />
<h2>Project Moved</h2>
This project has been moved to <a href="https://github.com/kfrancis/chargify-dot-net">GitHub</a>. For more information, including latest releases - please check there.<br /><br /></div><div class="ClearBoth"></div>djbyterTue, 28 Apr 2015 03:15:48 GMTUpdated Wiki: Home 20150428031548AUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=30<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br />
<h2>Project Moved</h2>
This project has been moved to <a href="https://github.com/kfrancis/chargify-dot-net">GitHub</a>. For more information, including latest releases - please check there.<br /></div><div class="ClearBoth"></div>djbyterTue, 28 Apr 2015 03:15:40 GMTUpdated Wiki: Home 20150428031540AUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=29<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br />
<h2>Project Moved</h2>
This project has been moved to <a href="https://github.com/kfrancis/chargify-dot-net">GitHub</a></div><div class="ClearBoth"></div>djbyterTue, 28 Apr 2015 03:15:13 GMTUpdated Wiki: Home 20150428031513AUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=28<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br />
<h2>Important SSLv3/POODLE</h2>
To correct the error &quot;Could not create SSL/TLS secure channel&quot;, update to at least version <a href="https://www.nuget.org/packages/chargify/">1.1.5400.37999</a> either through the downloads or (recommended) through nuget. I <b>HIGHLY</b> recommend using nuget as I release changes through there very often. For more information, see the Chargify blog post <a href="https://chargify.com/blog/dropping-sslv3/">&quot;Dropping support for SSLv3 - may cause API connection problems&quot;</a>. A list of the likely breaking changes that might affect you are listed here: <a href="https://chargify.codeplex.com/wikipage?title=Latest%20Breaking%20Changes&referringTitle=Home">Latest Breaking Changes</a>. Also, if you&#39;re still having trouble - make sure you&#39;re specifically setting <span class="codeInline">ChargifyConnect.ProtocolType</span> to <span class="codeInline">SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12</span> (if possible, to handle fall back to lower TLS). If using .NET 4 or under, just set it to <span class="codeInline">SecurityProtocolType.Tls</span>.<br />
<h3>Description</h3>
A sample ASP.NET website is available at <a href="http://chargify.clinicalsupportsystems.com">http://chargify.clinicalsupportsystems.com</a> which demonstrates the following features:
<ul><li>Subscription (Paid and Freemium) via API or hosted Chargify pages, including coupons.</li>
<li>Support for &quot;One-time&quot; charges, credits and refunds</li>
<li>Account migration or change between products</li>
<li>Metered and quantity based component charges</li>
<li>Account information management</li>
<li>Hosted page URL generation (pretty and regular)</li>
<li>ISO 3166-1 Alpha 2 data built into the library for easy use with country select controls</li>
<li>Transaction lists and filtering</li>
<li>Statements (including PDF linking)</li>
<li>Billing Portal Management API</li></ul>
<b>Windows Azure</b> - I&#39;ve recently added support for Windows Azure apps, just inherit from ChargifyPage and enter the important keys into your role configuration. Neat!<br /><b>NOTE</b>: If there are any issues with the sample website, please feel free to post them on the Issue Tracker on this project site, and I&#39;ll make sure they get fixed.<br />Also, a sample ASP.NET MVC sample is currently being worked on, and will be available at some point. Also, if there is any interest in a Silverlight/Windows Phone solution - let me know.
<h3>Get Started!</h3>
New to <i>Chargify.NET</i>?
<ul><li>Download the <a href="http://chargify.codeplex.com/releases">latest release</a> or from the NuGet &quot;Package Manager Console&quot;, run <span class="codeInline">Install-Package chargify</span></li>
<li>Look at the <a href="https://chargify.codeplex.com/wikipage?title=Getting%20Started&referringTitle=Home">Getting Started</a> page</li>
<li>Review the <a href="http://chargify.codeplex.com/documentation">documentation</a></li>
<li>Review the <a href="https://chargify.codeplex.com/wikipage?title=Breaking%20Changes&referringTitle=Home">Breaking Changes</a></li>
<li>Join in the <a href="http://chargify.codeplex.com/discussions">discussion</a></li>
<li>Need a quick question answered? Find me on twitter: <a href="http://www.twitter.com/djbyter">@djbyter</a></li></ul>
New to <i>Chargify</i>?
<ul><li>Check out their <a href="http://docs.chargify.com">documentation</a> site</li>
<li>Submit a &quot;ticket&quot; to their <a href="http://support.chargify.com">support area</a></li></ul>
<br />Looking for a DNS managing service? I use <a href="https://dnsimple.com/r/811f4af066782e">DNSimple</a>, and it&#39;s super easy. (They are Chargify users as well!)</div><div class="ClearBoth"></div>djbyterMon, 03 Nov 2014 16:44:58 GMTUpdated Wiki: Home 20141103044458PUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=27<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br />
<h2>Important SSLv3/POODLE</h2>
To correct the error &quot;Could not create SSL/TLS secure channel&quot;, update to at least version <a href="https://www.nuget.org/packages/chargify/">1.1.5400.37999</a> either through the downloads or (recommended) through nuget. I <b>HIGHLY</b> recommend using nuget as I release changes through there very often. For more information, see the Chargify blog post <a href="https://chargify.com/blog/dropping-sslv3/">&quot;Dropping support for SSLv3 - may cause API connection problems&quot;</a>. A list of the likely breaking changes that might affect you are listed here: <a href="https://chargify.codeplex.com/wikipage?title=Latest%20Breaking%20Changes&referringTitle=Home">Latest Breaking Changes</a><br />
<h3>Description</h3>
A sample ASP.NET website is available at <a href="http://chargify.clinicalsupportsystems.com">http://chargify.clinicalsupportsystems.com</a> which demonstrates the following features:
<ul><li>Subscription (Paid and Freemium) via API or hosted Chargify pages, including coupons.</li>
<li>Support for &quot;One-time&quot; charges, credits and refunds</li>
<li>Account migration or change between products</li>
<li>Metered and quantity based component charges</li>
<li>Account information management</li>
<li>Hosted page URL generation (pretty and regular)</li>
<li>ISO 3166-1 Alpha 2 data built into the library for easy use with country select controls</li>
<li>Transaction lists and filtering</li>
<li>Statements (including PDF linking)</li>
<li>Billing Portal Management API</li></ul>
<b>Windows Azure</b> - I&#39;ve recently added support for Windows Azure apps, just inherit from ChargifyPage and enter the important keys into your role configuration. Neat!<br /><b>NOTE</b>: If there are any issues with the sample website, please feel free to post them on the Issue Tracker on this project site, and I&#39;ll make sure they get fixed.<br />Also, a sample ASP.NET MVC sample is currently being worked on, and will be available at some point. Also, if there is any interest in a Silverlight/Windows Phone solution - let me know.
<h3>Get Started!</h3>
New to <i>Chargify.NET</i>?
<ul><li>Download the <a href="http://chargify.codeplex.com/releases">latest release</a> or from the NuGet &quot;Package Manager Console&quot;, run <span class="codeInline">Install-Package chargify</span></li>
<li>Look at the <a href="https://chargify.codeplex.com/wikipage?title=Getting%20Started&referringTitle=Home">Getting Started</a> page</li>
<li>Review the <a href="http://chargify.codeplex.com/documentation">documentation</a></li>
<li>Review the <a href="https://chargify.codeplex.com/wikipage?title=Breaking%20Changes&referringTitle=Home">Breaking Changes</a></li>
<li>Join in the <a href="http://chargify.codeplex.com/discussions">discussion</a></li>
<li>Need a quick question answered? Find me on twitter: <a href="http://www.twitter.com/djbyter">@djbyter</a></li></ul>
New to <i>Chargify</i>?
<ul><li>Check out their <a href="http://docs.chargify.com">documentation</a> site</li>
<li>Submit a &quot;ticket&quot; to their <a href="http://support.chargify.com">support area</a></li></ul>
<br />Looking for a DNS managing service? I use <a href="https://dnsimple.com/r/811f4af066782e">DNSimple</a>, and it&#39;s super easy. (They are Chargify users as well!)</div><div class="ClearBoth"></div>djbyterWed, 15 Oct 2014 15:45:30 GMTUpdated Wiki: Home 20141015034530PUpdated Wiki: Latest Breaking Changeshttps://chargify.codeplex.com/wikipage?title=Latest Breaking Changes&version=4<div class="wikidoc">To v1.1.5400.37999<br /><br />A common question from users is what changed when using the latest version. In almost all cases, the following are the list of things that have changed that will need to be corrected.<br />
<ul><li><u>ICreditCardView</u> becomes <u>IPaymentProfileView</u></li>
<li>subscription.<u>CreditCard</u> becomes subscription.<u>PaymentProfile</u></li>
<li>IPaymentProfileView.<u>Type</u> becomes IPaymentProfileView.<u>CardType</u></li></ul>
These changes came during the <a href="https://chargify.codeplex.com/SourceControl/changeset/88645">addition of ACH</a> to the library back in June.<br /><br />If you have any questions, let me know. I&#39;m always happy to help.</div><div class="ClearBoth"></div>djbyterWed, 15 Oct 2014 15:45:02 GMTUpdated Wiki: Latest Breaking Changes 20141015034502PUpdated Wiki: Latest Breaking Changeshttps://chargify.codeplex.com/wikipage?title=Latest Breaking Changes&version=3<div class="wikidoc">To v1.1.5400.37999<br /><br />A common question from users is what changed when using the latest version. In almost all cases, the following are the list of things that have changed that will need to be corrected.<br />
<ul><li><u>ICreditCardView</u> becomes <u>IPaymentProfileView</u></li>
<li>subscription.<u>CreditCard</u> becomes subscription.<u>PaymentProfile</u></li>
<li>IPaymentProfileView.<u>Type</u> becomes IPaymentProfileView.<u>CardType</u></li></ul>
These changes came during the <a href="https://chargify.codeplex.com/SourceControl/changeset/88645">addition of ACH</a> to the library back in June.<br /></div><div class="ClearBoth"></div>djbyterWed, 15 Oct 2014 15:44:47 GMTUpdated Wiki: Latest Breaking Changes 20141015034447PUpdated Wiki: Latest Breaking Changeshttps://chargify.codeplex.com/wikipage?title=Latest Breaking Changes&version=2<div class="wikidoc">To v1.1.5400.37999<br /><br />A common question from users is what changed when using the latest version. In almost all cases, the following are the list of things that have changed that will need to be corrected.<br />
<ul><li><u>ICreditCardView</u> becomes <u>IPaymentProfileView</u></li>
<li>subscription.<u>CreditCard</u> becomes subscription.<u>PaymentProfile</u></li>
<li>IPaymentProfileView.<u>Type</u> becomes IPaymentProfileView.<u>CardType</u></li></ul>
<br />These changes came during the <a href="https://chargify.codeplex.com/SourceControl/changeset/88645">addition of ACH</a> to the library back in June.</div><div class="ClearBoth"></div>djbyterWed, 15 Oct 2014 15:44:34 GMTUpdated Wiki: Latest Breaking Changes 20141015034434PUpdated Wiki: Latest Breaking Changeshttps://chargify.codeplex.com/wikipage?title=Latest Breaking Changes&version=1<div class="wikidoc">To v1.1.5400.37999<br />
<ul><li><u>ICreditCardView</u> becomes <u>IPaymentProfileView</u></li>
<li>subscription.<u>CreditCard</u> becomes subscription.<u>PaymentProfile</u></li>
<li>IPaymentProfileView.<u>Type</u> becomes IPaymentProfileView.<u>CardType</u></li></ul></div><div class="ClearBoth"></div>djbyterWed, 15 Oct 2014 15:43:01 GMTUpdated Wiki: Latest Breaking Changes 20141015034301PUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=26<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br />
<h2>Important SSLv3/POODLE</h2>
To correct the error &quot;Could not create SSL/TLS secure channel&quot;, update to at least version <a href="https://www.nuget.org/packages/chargify/">1.1.5400.37999</a> either through the downloads or (recommended) through nuget. I <b>HIGHLY</b> recommend using nuget as I release changes through there very often. For more information, see the Chargify blog post <a href="https://chargify.com/blog/dropping-sslv3/">&quot;Dropping support for SSLv3 - may cause API connection problems&quot;</a>.<br />
<h3>Description</h3>
A sample ASP.NET website is available at <a href="http://chargify.clinicalsupportsystems.com">http://chargify.clinicalsupportsystems.com</a> which demonstrates the following features:
<ul><li>Subscription (Paid and Freemium) via API or hosted Chargify pages, including coupons.</li>
<li>Support for &quot;One-time&quot; charges, credits and refunds</li>
<li>Account migration or change between products</li>
<li>Metered and quantity based component charges</li>
<li>Account information management</li>
<li>Hosted page URL generation (pretty and regular)</li>
<li>ISO 3166-1 Alpha 2 data built into the library for easy use with country select controls</li>
<li>Transaction lists and filtering</li>
<li>Statements (including PDF linking)</li>
<li>Billing Portal Management API</li></ul>
<b>Windows Azure</b> - I&#39;ve recently added support for Windows Azure apps, just inherit from ChargifyPage and enter the important keys into your role configuration. Neat!<br /><b>NOTE</b>: If there are any issues with the sample website, please feel free to post them on the Issue Tracker on this project site, and I&#39;ll make sure they get fixed.<br />Also, a sample ASP.NET MVC sample is currently being worked on, and will be available at some point. Also, if there is any interest in a Silverlight/Windows Phone solution - let me know.
<h3>Get Started!</h3>
New to <i>Chargify.NET</i>?
<ul><li>Download the <a href="http://chargify.codeplex.com/releases">latest release</a> or from the NuGet &quot;Package Manager Console&quot;, run <span class="codeInline">Install-Package chargify</span></li>
<li>Look at the <a href="https://chargify.codeplex.com/wikipage?title=Getting%20Started&referringTitle=Home">Getting Started</a> page</li>
<li>Review the <a href="http://chargify.codeplex.com/documentation">documentation</a></li>
<li>Review the <a href="https://chargify.codeplex.com/wikipage?title=Breaking%20Changes&referringTitle=Home">Breaking Changes</a></li>
<li>Join in the <a href="http://chargify.codeplex.com/discussions">discussion</a></li>
<li>Need a quick question answered? Find me on twitter: <a href="http://www.twitter.com/djbyter">@djbyter</a></li></ul>
New to <i>Chargify</i>?
<ul><li>Check out their <a href="http://docs.chargify.com">documentation</a> site</li>
<li>Submit a &quot;ticket&quot; to their <a href="http://support.chargify.com">support area</a></li></ul>
<br />Looking for a DNS managing service? I use <a href="https://dnsimple.com/r/811f4af066782e">DNSimple</a>, and it&#39;s super easy. (They are Chargify users as well!)</div><div class="ClearBoth"></div>djbyterWed, 15 Oct 2014 13:09:50 GMTUpdated Wiki: Home 20141015010950PUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=25<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br />
<h2>Important SSLv3/POODLE</h2>
To correct the error &quot;Could not create SSL/TLS secure channel&quot;, update to at least version <a href="https://www.nuget.org/packages/chargify/">1.1.5400.37892</a> either through the downloads or (recommended) through nuget. I <b>HIGHLY</b> recommend using nuget as I release changes through there very often. For more information, see the Chargify blog post <a href="https://chargify.com/blog/dropping-sslv3/">&quot;Dropping support for SSLv3 - may cause API connection problems&quot;</a>.<br />
<h3>Description</h3>
A sample ASP.NET website is available at <a href="http://chargify.clinicalsupportsystems.com">http://chargify.clinicalsupportsystems.com</a> which demonstrates the following features:
<ul><li>Subscription (Paid and Freemium) via API or hosted Chargify pages, including coupons.</li>
<li>Support for &quot;One-time&quot; charges, credits and refunds</li>
<li>Account migration or change between products</li>
<li>Metered and quantity based component charges</li>
<li>Account information management</li>
<li>Hosted page URL generation (pretty and regular)</li>
<li>ISO 3166-1 Alpha 2 data built into the library for easy use with country select controls</li>
<li>Transaction lists and filtering</li>
<li>Statements (including PDF linking)</li>
<li>Billing Portal Management API</li></ul>
<b>Windows Azure</b> - I&#39;ve recently added support for Windows Azure apps, just inherit from ChargifyPage and enter the important keys into your role configuration. Neat!<br /><b>NOTE</b>: If there are any issues with the sample website, please feel free to post them on the Issue Tracker on this project site, and I&#39;ll make sure they get fixed.<br />Also, a sample ASP.NET MVC sample is currently being worked on, and will be available at some point. Also, if there is any interest in a Silverlight/Windows Phone solution - let me know.
<h3>Get Started!</h3>
New to <i>Chargify.NET</i>?
<ul><li>Download the <a href="http://chargify.codeplex.com/releases">latest release</a> or from the NuGet &quot;Package Manager Console&quot;, run <span class="codeInline">Install-Package chargify</span></li>
<li>Look at the <a href="https://chargify.codeplex.com/wikipage?title=Getting%20Started&referringTitle=Home">Getting Started</a> page</li>
<li>Review the <a href="http://chargify.codeplex.com/documentation">documentation</a></li>
<li>Review the <a href="https://chargify.codeplex.com/wikipage?title=Breaking%20Changes&referringTitle=Home">Breaking Changes</a></li>
<li>Join in the <a href="http://chargify.codeplex.com/discussions">discussion</a></li>
<li>Need a quick question answered? Find me on twitter: <a href="http://www.twitter.com/djbyter">@djbyter</a></li></ul>
New to <i>Chargify</i>?
<ul><li>Check out their <a href="http://docs.chargify.com">documentation</a> site</li>
<li>Submit a &quot;ticket&quot; to their <a href="http://support.chargify.com">support area</a></li></ul>
<br />Looking for a DNS managing service? I use <a href="https://dnsimple.com/r/811f4af066782e">DNSimple</a>, and it&#39;s super easy. (They are Chargify users as well!)</div><div class="ClearBoth"></div>djbyterWed, 15 Oct 2014 13:09:21 GMTUpdated Wiki: Home 20141015010921PUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=24<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br /><br />A sample ASP.NET website is available at <a href="http://chargify.clinicalsupportsystems.com">http://chargify.clinicalsupportsystems.com</a> which demonstrates the following features:
<ul><li>Subscription (Paid and Freemium) via API or hosted Chargify pages, including coupons.</li>
<li>Support for &quot;One-time&quot; charges, credits and refunds</li>
<li>Account migration or change between products</li>
<li>Metered and quantity based component charges</li>
<li>Account information management</li>
<li>Hosted page URL generation (pretty and regular)</li>
<li>ISO 3166-1 Alpha 2 data built into the library for easy use with country select controls</li>
<li>Transaction lists and filtering</li>
<li>Statements (including PDF linking)</li>
<li>Billing Portal Management API</li></ul>
<b>Windows Azure</b> - I&#39;ve recently added support for Windows Azure apps, just inherit from ChargifyPage and enter the important keys into your role configuration. Neat!<br /><b>NOTE</b>: If there are any issues with the sample website, please feel free to post them on the Issue Tracker on this project site, and I&#39;ll make sure they get fixed.<br />Also, a sample ASP.NET MVC sample is currently being worked on, and will be available at some point. Also, if there is any interest in a Silverlight/Windows Phone solution - let me know.
<h3>Get Started!</h3>
New to <i>Chargify.NET</i>?
<ul><li>Download the <a href="http://chargify.codeplex.com/releases">latest release</a> or from the NuGet &quot;Package Manager Console&quot;, run <span class="codeInline">Install-Package chargify</span></li>
<li>Look at the <a href="https://chargify.codeplex.com/wikipage?title=Getting%20Started&referringTitle=Home">Getting Started</a> page</li>
<li>Review the <a href="http://chargify.codeplex.com/documentation">documentation</a></li>
<li>Review the <a href="https://chargify.codeplex.com/wikipage?title=Breaking%20Changes&referringTitle=Home">Breaking Changes</a></li>
<li>Join in the <a href="http://chargify.codeplex.com/discussions">discussion</a></li>
<li>Need a quick question answered? Find me on twitter: <a href="http://www.twitter.com/djbyter">@djbyter</a></li></ul>
New to <i>Chargify</i>?
<ul><li>Check out their <a href="http://docs.chargify.com">documentation</a> site</li>
<li>Submit a &quot;ticket&quot; to their <a href="http://support.chargify.com">support area</a></li></ul>
<br />Looking for a DNS managing service? I use <a href="https://dnsimple.com/r/811f4af066782e">DNSimple</a>, and it&#39;s super easy. (They are Chargify users as well!)</div><div class="ClearBoth"></div>djbyterMon, 16 Jun 2014 04:06:51 GMTUpdated Wiki: Home 20140616040651AUpdated Wiki: Breaking Changeshttps://chargify.codeplex.com/wikipage?title=Breaking Changes&version=1<div class="wikidoc"><h3>For version <a href="https://www.nuget.org/packages/chargify/1.0.5279.41320">1.0.5279.41320</a></h3>
I try and not change too many things, but with the addition of ACH - naming the main payment information &quot;Credit Card&quot; needed to change. I&#39;ve changed (in almost all cases) from CreditCard to PaymentProfile.</div><div class="ClearBoth"></div>djbyterMon, 16 Jun 2014 04:06:22 GMTUpdated Wiki: Breaking Changes 20140616040622AUpdated Wiki: Homehttps://chargify.codeplex.com/wikipage?version=23<div class="wikidoc"><h1>Chargify.NET</h1>
<i>A comprehensive C# API wrapper library for accessing <a href="http://www.chargify.com">Chargify.com</a>, using XML or JSON to read/write.</i><br /><br />A sample ASP.NET website is available at <a href="http://chargify.clinicalsupportsystems.com">http://chargify.clinicalsupportsystems.com</a> which demonstrates the following features:
<ul><li>Subscription (Paid and Freemium) via API or hosted Chargify pages, including coupons.</li>
<li>Support for &quot;One-time&quot; charges, credits and refunds</li>
<li>Account migration or change between products</li>
<li>Metered and quantity based component charges</li>
<li>Account information management</li>
<li>Hosted page URL generation (pretty and regular)</li>
<li>ISO 3166-1 Alpha 2 data built into the library for easy use with country select controls</li>
<li>Transaction lists and filtering</li>
<li>Statements (including PDF linking)</li>
<li>Billing Portal Management API</li></ul>
<b>Windows Azure</b> - I&#39;ve recently added support for Windows Azure apps, just inherit from ChargifyPage and enter the important keys into your role configuration. Neat!<br /><b>NOTE</b>: If there are any issues with the sample website, please feel free to post them on the Issue Tracker on this project site, and I&#39;ll make sure they get fixed.<br />Also, a sample ASP.NET MVC sample is currently being worked on, and will be available at some point. Also, if there is any interest in a Silverlight/Windows Phone solution - let me know.
<h3>Get Started!</h3>
New to <i>Chargify.NET</i>?
<ul><li>Download the <a href="http://chargify.codeplex.com/releases">latest release</a> or from the NuGet &quot;Package Manager Console&quot;, run <span class="codeInline">Install-Package chargify</span></li>
<li>Look at the <a href="https://chargify.codeplex.com/wikipage?title=Getting%20Started&referringTitle=Home">Getting Started</a> page</li>
<li>Review the <a href="http://chargify.codeplex.com/documentation">documentation</a></li>
<li>Join in the <a href="http://chargify.codeplex.com/discussions">discussion</a></li>
<li>Need a quick question answered? Find me on twitter: <a href="http://www.twitter.com/djbyter">@djbyter</a></li></ul>
New to <i>Chargify</i>?
<ul><li>Check out their <a href="http://docs.chargify.com">documentation</a> site</li>
<li>Submit a &quot;ticket&quot; to their <a href="http://support.chargify.com">support area</a></li></ul>
<br />Looking for a DNS managing service? I use <a href="https://dnsimple.com/r/811f4af066782e">DNSimple</a>, and it&#39;s super easy. (They are Chargify users as well!)</div><div class="ClearBoth"></div>djbyterTue, 25 Feb 2014 14:43:58 GMTUpdated Wiki: Home 20140225024358PUpdated Wiki: Documentationhttps://chargify.codeplex.com/documentation?version=5<div class="wikidoc"><h1>Chargify.NET Library</h1>
The Chargify.NET client library is an open source library created to interact with Chargify&#39;s API from your ASP.NET website. The library interacts with Chargify&#39;s REST API.
<h3>View the NuDoc documentation for the Nuget library here: <a href="http://www.nudoq.org/#/Packages/chargify">NuDoc</a></h3>
<h2>Configuration </h2>
- After downloading the library, in Visual Studio - add a reference to the Chargify.NET DLL.<br />- You can either configure Chargify.NET in two ways. 1) Use the ChargifyPage base page and web.config chargify section, or 2) Enter in AppSettings and create ChargifyConnect yourself.<br />- In either app.config or web.config, add the following:<br /><pre>
&lt;configuration&gt;
&lt;configSections&gt;
&lt;section name=&quot;chargify&quot; type=&quot;ChargifyNET.Configuration.ChargifyAccountRetrieverSection&quot;/&gt;
&lt;/configSections&gt;
&lt;chargify defaultAccount=&quot;TestSiteAccount&quot;&gt;
&lt;add name=&quot;TestSiteAccount&quot; site=&quot;https://yoursubdomain.chargify.com&quot; apiKey=&quot;AbCdEfGhIjKlMnOpQrSt&quot; apiPassword=&quot;P&quot; sharedKey=&quot;AbCdEfGhIjKlMnOpQrSt&quot; /&gt;
&lt;/chargify&gt;
&lt;/configuration&gt;</pre>- If using the hosted page generation methods, you&#39;ll need to specify the sharedKey.<br /><br />- If you aren&#39;t using the config section or the ChargifyPage base page - then just specify the Url, API Key, Password and SharedKey yourself in AppSettings. Then you can instantiate the ChargifyConnect class like so:<br /><pre>
...
// values for Url, API key, Password and SharedKey are declared above this.
ChargifyConnect chargify = new ChargifyConnect();
chargify.apiKey = myApiKey;
chargify.Password = myPassword;
chargify.URL = myChargifyUrl;
chargify.SharedKey = myHostedPageSharedKey;
// the chargify object is now instantiated and can connect when you make any call.
</pre>If there are any issues using this library, I encourage you to post an issue and I&#39;ll make sure I get it fixed immediately. The Chargify guys have done such a great job creating the service, I just want to make sure my .NET fellows can take advantage of it.<br /><br /><b>Example Usage</b><br />Here&#39;s some VB code that inherits from the included System.Web.UI.Page called <i>ChargifyPage</i>, and accesses the <i>ChargifyConnect</i> object.<br /><pre>Import ChargifyNET
Partial Class Default
Inherits ChargifyPage
Protected Sub Page_Load(ByVal sender as Object, ByVal e As EventArgs) Handles Me.Load
If Not Me.IsPostBack Then
Dim customer As ICustomer = Chargify.LoadCustomer(Membership.GetUser().ProviderUserKey)
End If
End Sub
End Class</pre><br />Here&#39;s some C# code that inherits from the included System.Web.UI.Page called <i>ChargifyPage</i>, and accesses the <i>ChargifyConnect</i> object.<br /><pre>using ChargifyNET;
public partial class Default : ChargifyPage
{
protected void Page_Load(Object sender, EventArgs e)
{
if (!this.IsPostBack) {
ICustomer customer = Chargify.LoadCustomer(Membership.GetUser().ProviderUserKey);
}
}
}
</pre>
<h2>Usage</h2>
Here are some examples:<br /><pre>
// Retrieve a list of all your products
IDictionary&lt;string, IProduct&gt; products = chargify.GetProductList();
// Create a new customer
ICustomer newCustomer = chargify.CreateCustomer(&quot;Charlie&quot;, &quot;Bull&quot;, &quot;charlie@example.com&quot;, &quot;Chargify&quot;, Guid.NewGuid());
// Create a new customer and subscription
ICustomerAttributes charlie = new CustomerAttributes(&quot;Charlie&quot;, &quot;Bull&quot;, &quot;charlie@example.com&quot;, &quot;Chargify&quot;, Guid.NewGuid());
ICreditCardAttributes charliesPaymentInfo = new CreditCardAttributes();
charliesPaymentInfo.FirstName = charlie.FirstName;
charliesPaymentInfo.LastName = charlie.LastName;
charliesPaymentInfo.ExpirationMonth = 1;
charliesPaymentInfo.ExpirationYear = 2020;
charliesPaymentInfo.FullNumber = &quot;1&quot;;
charliesPaymentInfo.CVV = &quot;123&quot;;
charliesPaymentInfo.BillingAddress = &quot;123 Main St.&quot;;
charliesPaymentInfo.BillingCity = &quot;New York&quot;;
charliesPaymentInfo.BillingCountry = &quot;United States&quot;;
charliesPaymentInfo.BillingState = &quot;New York&quot;;
charliesPaymentInfo.BillingZip = &quot;90210&quot;;
ISubscription newSubscription = chargify.CreateSubscription(&quot;basic&quot;, charlie, charliesPaymentInfo);
if (newSubscription == null) {
// subscription failure.
}
</pre></div><div class="ClearBoth"></div>djbyterWed, 16 Oct 2013 19:34:55 GMTUpdated Wiki: Documentation 20131016073455PNew Comment on "Documentation"https://chargify.codeplex.com/documentation?&ANCHOR#C28841I am getting this error &#58;&#10;Status Description&#58; &#34;Unauthorized&#34;, Status Code&#58; System.Net.HttpStatusCode.Unauthorized, Error Messages&#58; 0kindlebitMon, 14 Oct 2013 06:22:34 GMTNew Comment on "Documentation" 20131014062234ANew Comment on "Documentation"http://chargify.codeplex.com/documentation?&ANCHOR#C24356How can i use this library in appsetting. And i am using hosted page generation methods ,so where should i instantiate the chargify Connection. what will i write in place of url.AbhishekShankerThu, 12 Jul 2012 06:38:04 GMTNew Comment on "Documentation" 20120712063804ANew Comment on "Documentation"http://chargify.codeplex.com/documentation?&ANCHOR#C23025I am interested in using this with Silverlight. Any info available on that&#63;JoshSommersThu, 22 Mar 2012 20:02:06 GMTNew Comment on "Documentation" 20120322080206PNew Comment on "Documentation"http://chargify.codeplex.com/documentation?&ANCHOR#C21682I am working in C&#35;. How do I use webhooks to get the responses&#63;lokesh12345Mon, 21 Nov 2011 10:31:16 GMTNew Comment on "Documentation" 20111121103116ANew Comment on "Documentation"http://chargify.codeplex.com/documentation?&ANCHOR#C21681Do the apiKey and sharedKey has to be the same&#63;&#10;If not, I am using them as same and able to fetch all the functions of the chargify. Is it the correct or the wrong way&#63;&#10;If wrong, what I have to do for correct values&#63;lokesh12345Mon, 21 Nov 2011 10:27:42 GMTNew Comment on "Documentation" 20111121102742A