<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to use CreateCustomerPaymentProfile(long profile_id) in c# asp.net ? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22447#M12148</link>
    <description>&lt;P&gt;Hi.. I am downloadng your CIM C# sample code. And use web services. Now in my local pc I am Creating Sample page&lt;/P&gt;&lt;P&gt;"Default.aspx" and write function &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;CreateCustomerPaymentProfile(long profile_id) &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;. and call it on Page Load. I am Sign up&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;and in EXAMPLE_MERCHANT_NAME give Login ID and EXAMPLE_TRANSACTION_KEY gives transuction id.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So can you please tell me how can i test account and in page load i am calling function &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;CreateCustomerPaymentProfile(long profile_id)&amp;nbsp; &lt;FONT color="#000000"&gt;and &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;which &lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;profile_id &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;can i give to work it properly.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now i am testing so it return "0"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Please help me urgently, i am so new i this field.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Thanks in Advance :manvery-happy:&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2012 14:08:49 GMT</pubDate>
    <dc:creator>nilesh_yerpude</dc:creator>
    <dc:date>2012-02-01T14:08:49Z</dc:date>
    <item>
      <title>How to use CreateCustomerPaymentProfile(long profile_id) in c# asp.net ?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22447#M12148</link>
      <description>&lt;P&gt;Hi.. I am downloadng your CIM C# sample code. And use web services. Now in my local pc I am Creating Sample page&lt;/P&gt;&lt;P&gt;"Default.aspx" and write function &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;CreateCustomerPaymentProfile(long profile_id) &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;. and call it on Page Load. I am Sign up&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;and in EXAMPLE_MERCHANT_NAME give Login ID and EXAMPLE_TRANSACTION_KEY gives transuction id.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So can you please tell me how can i test account and in page load i am calling function &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;CreateCustomerPaymentProfile(long profile_id)&amp;nbsp; &lt;FONT color="#000000"&gt;and &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;which &lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;profile_id &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;can i give to work it properly.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now i am testing so it return "0"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Please help me urgently, i am so new i this field.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Thanks in Advance :manvery-happy:&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 14:08:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22447#M12148</guid>
      <dc:creator>nilesh_yerpude</dc:creator>
      <dc:date>2012-02-01T14:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CreateCustomerPaymentProfile(long profile_id) in c# asp.net ?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22449#M12149</link>
      <description>&lt;P&gt;Put it in debug and see what error message is in response.messages and response.validationDirectResponse .&lt;/P&gt;&lt;P&gt;Also, it wasn't clear is your message that you have a valid profile_id, a valid profile_id is required to create payment profile.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 14:19:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22449#M12149</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-02-01T14:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CreateCustomerPaymentProfile(long profile_id) in c# asp.net ?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22523#M12185</link>
      <description>&lt;P&gt;Hi i am using below test code and it return 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using System.Linq;&lt;BR /&gt;using System.Web;&lt;BR /&gt;using System.Web.UI;&lt;BR /&gt;using System.Web.UI.WebControls;&lt;BR /&gt;using net.authorize.apitest;&lt;BR /&gt;using CustomerProfileAPI;&lt;BR /&gt;&lt;BR /&gt;public partial class _Default : System.Web.UI.Page&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreateCustomerPaymentProfile(1234);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void CreateCustomerPaymentProfile(long profile_id)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerPaymentProfileType new_payment_profile = new CustomerPaymentProfileType();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PaymentType new_payment = new PaymentType();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //BankAccountType new_bank = new BankAccountType();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //new_bank.accountNumber = "4111111";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreditCardType new_card = new CreditCardType();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new_card.cardNumber = "4111111111111111";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new_card.expirationDate = "2012-10";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new_payment.Item = new_card;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //new_payment.Item = new_bank;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new_payment_profile.payment = new_payment;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //ArrayOfCustomerPaymentProfileType pay_list = new ArrayOfCustomerPaymentProfileType();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //pay_list.getCustomerPaymentProfileType().add(new_payment_profile);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreateCustomerPaymentProfileResponseType response = SoapAPIUtilities.Service.CreateCustomerPaymentProfile(SoapAPIUtilities.MerchantAuthentication, profile_id, new_payment_profile, ValidationModeEnum.liveMode);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; long out_id = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine("Response Code: " + response.resultCode);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0; i &amp;lt; response.messages.Length; i++)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine("Message: " + response.messages[i].text);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out_id = response.customerPaymentProfileId;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpContext.Current.Response.Write(out_id);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 06:31:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22523#M12185</guid>
      <dc:creator>nilesh_yerpude</dc:creator>
      <dc:date>2012-02-02T06:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CreateCustomerPaymentProfile(long profile_id) in c# asp.net ?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22531#M12189</link>
      <description>&lt;P&gt;1) Did you replace 1234 with a valid customer profile ID? If not, use CreateCustomerProfile method to create one first.&lt;/P&gt;&lt;P&gt;2) Did you run debug and stop a the&lt;/P&gt;&lt;PRE&gt;Console.WriteLine("Message: " + response.messages[i].text);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Line and see what in response.messages? Really can't help you without knowing the error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CIM documentation&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.authorize.net/support/CIM_SOAP_guide.pdf"&gt;http://www.authorize.net/support/CIM_SOAP_guide.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 12:27:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-use-CreateCustomerPaymentProfile-long-profile-id-in-c-asp/m-p/22531#M12189</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-02-02T12:27:57Z</dc:date>
    </item>
  </channel>
</rss>

