<?xml version="1.0"?><rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Customers</title><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/6/scope/threads/Default.aspx</link><description>Working with methods on the Customer Web Service, including creating or changing to customer accounts, and getting information about customer accounts.</description><pubDate>2010-09-10T21:53:55Z</pubDate><lastBuildDate>2009-06-27T03:11:48Z</lastBuildDate><ttl>30</ttl><item><title>How do I suspend a customer?</title><pubDate>2009-06-27T03:11:48Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/6/threadid/15/scope/posts/Default.aspx</link><description>&lt;div style="margin: 0in 0in 10pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;The customer can be suspended with the SuspendCustomer method in the Customer web service. &amp;#160;&amp;#160;For instance you may want to integrate your customer service or accounting system to suspend a customer in the ClearStar.net system when the third party system deactivates the customer.&amp;#160;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;Here is an example of how you could suspend a customer:&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Get a reference to the web service */&lt;br /&gt;
using (GatewaySample.net.clearstar.gateway.customer.Customer gwCustomer = new GatewaySample.net.clearstar.gateway.customer.Customer())&lt;br /&gt;
{&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; line-height: normal"&gt;&amp;#160;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Suspend Customer */&lt;br /&gt;
XmlNode nodeCustomer = gwCustomer.SuspendCustomer("myUserName", "myPassword", myBOID, "myCustID”);&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;XML Response:&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;SuspendCustomer xmlns=""&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;ErrorStatus&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Code&amp;gt;&amp;lt;/Code&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Type&amp;gt;&amp;lt;/Type&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Message&amp;gt;&amp;lt;/Message&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/ErrorStatus&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Customer&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;sCustID&amp;gt;&amp;lt;/sCustID&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;bSuspended&amp;gt;&amp;lt;bSuspended&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/Customer&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/SuspendCustomer&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&amp;#160;&lt;/div&gt;
&lt;p class="Default" style="margin: 0in 0in 0pt"&gt;&lt;em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Additional information is provided in the documentation and more example code is provided in the Gateway Sample application.&lt;/span&gt;&lt;/em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How do I add credit card information for a customer?</title><pubDate>2009-06-26T03:02:40Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/6/threadid/8/scope/posts/Default.aspx</link><description>&lt;p&gt;The customer can be charged by credit card if credit card information has been set up for the customer.&amp;#160;In order for the card to be charged before an order is processed remember to enable Pay Per Profile on the customer.&amp;#160;Business owners can charge the customer’s credit card while processing invoices from Transact as well.&lt;/p&gt;
&lt;div&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;Here is an example of how you could add credit card information for a customer:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin-left: 30pt"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Get a reference to the web service */&lt;br /&gt;
using (GatewaySample.net.clearstar.gateway.customer.Customer gwCustomer = new GatewaySample.net.clearstar.gateway.customer.Customer())&lt;br /&gt;
{&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 1in"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 1in"&gt;&lt;span style="font-size: 8.5pt"&gt;/* Add credit card information. */&lt;br /&gt;
XmlNode nodeCustomer = gwCustomer.AddCreditCard("myUserName", "myPassword", myBOID, "myCustID", "0123456789012", “000”, “John”, “Smith”, “ACME Inc.”,&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 0.5in; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;“01/01/20012”, “111 New ST.”, “Atlanta”, “GA”, “30009”);&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-left: 30pt"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin-left: 30pt"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;#160;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;XML Response:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;AddCreditCard&amp;#160;xmlns=""&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;ErrorStatus&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Code&amp;gt;&amp;lt;/Code&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Type&amp;gt;&amp;lt;/Type&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Message&amp;gt;&amp;lt;/Message&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/ErrorStatus&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;CreditCard&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: -24pt; line-height: normal"&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;sNewCreditCard&amp;gt;&lt;/span&gt;&lt;span style="font-size: 8.5pt"&gt;.&amp;lt;/sNewCreditCard&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px; text-indent: -24pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/CreditCard&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/AddCreditCard&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;
&lt;p class="Default" style="margin: 0in 0in 0pt"&gt;&lt;em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Additional information is provided in the documentation and more example code is provided in the Gateway Sample application.&lt;/span&gt;&lt;/em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description></item></channel></rss>