<?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 Bug report? updateCustomerPaymentProfileRequest in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/57074#M31814</link>
    <description>&lt;P&gt;I'm not really sure where to submit bug reports and I'm not sure if &amp;nbsp;it's a bug or&amp;nbsp;a mistype in the api documentation at &lt;A href="http://developer.authorize.net/api/reference/index.html#customer-profiles-update-customer-payment-profile" target="_self"&gt;http://developer.authorize.net/api/reference/index.html#customer-profiles-update-customer-payment-profile&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation says that 'customerPaymentProfileId' should occur before 'defaultPaymentProfile' in the request but when submitting I kept getting the &amp;nbsp;'invalid child element' error response for 'defaultPaymentProfile' .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;E00003 The element 'paymentProfile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'defaultPaymentProfile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So after some digging through the xml schema I found that&amp;nbsp;&lt;SPAN&gt;'defaultPaymentProfile' is supposed to occur before&amp;nbsp;'customerPaymentProfileId'. 'defaultPaymentProfile' is declaired in 'customerPaymentProfileType' of which 'customerPaymentProfileExType' (where 'customerPaymentProfileId' is defined ) is a child.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When submitting 'updateCustomerPaymentProfileRequest' with 'defaultPaymentProfile' before 'customerPaymentProfileId' it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If there's a better place to report stuff like this please let me know and I'll put it there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your attention.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Feb 2017 20:19:55 GMT</pubDate>
    <dc:creator>Dewbud</dc:creator>
    <dc:date>2017-02-26T20:19:55Z</dc:date>
    <item>
      <title>Bug report? updateCustomerPaymentProfileRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/57074#M31814</link>
      <description>&lt;P&gt;I'm not really sure where to submit bug reports and I'm not sure if &amp;nbsp;it's a bug or&amp;nbsp;a mistype in the api documentation at &lt;A href="http://developer.authorize.net/api/reference/index.html#customer-profiles-update-customer-payment-profile" target="_self"&gt;http://developer.authorize.net/api/reference/index.html#customer-profiles-update-customer-payment-profile&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation says that 'customerPaymentProfileId' should occur before 'defaultPaymentProfile' in the request but when submitting I kept getting the &amp;nbsp;'invalid child element' error response for 'defaultPaymentProfile' .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;E00003 The element 'paymentProfile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'defaultPaymentProfile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So after some digging through the xml schema I found that&amp;nbsp;&lt;SPAN&gt;'defaultPaymentProfile' is supposed to occur before&amp;nbsp;'customerPaymentProfileId'. 'defaultPaymentProfile' is declaired in 'customerPaymentProfileType' of which 'customerPaymentProfileExType' (where 'customerPaymentProfileId' is defined ) is a child.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When submitting 'updateCustomerPaymentProfileRequest' with 'defaultPaymentProfile' before 'customerPaymentProfileId' it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If there's a better place to report stuff like this please let me know and I'll put it there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your attention.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 20:19:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/57074#M31814</guid>
      <dc:creator>Dewbud</dc:creator>
      <dc:date>2017-02-26T20:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bug report? updateCustomerPaymentProfileRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/57081#M31821</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21282"&gt;@Dewbud&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's a good catch, and thanks for going the extra mile to cross-reference against the schema to figure out how to get it to work. I don't know the possibility of fixing at the schema level, but in the meantime, I'll get the documentation updated to change the positioning to hopefully avoid some other troubles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for letting us know!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 20:57:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/57081#M31821</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-02-27T20:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bug report? updateCustomerPaymentProfileRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/61804#M36204</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;Now after a year I've faced the same problem and I don't see any mentions about fields order in the documentation and even don't understand why it may take the place in case of JSON API.&lt;BR /&gt;I use NodeJS and &lt;A href="https://github.com/AuthorizeNet/sdk-node" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-node&lt;/A&gt; and it is a tricky thing trying to control fields order in JSON (as there is no any parser which guaranties the order) especially when it wrapped to classes inside SDK.&lt;BR /&gt;Request works only in case if fields "defaultPaymentProfile" and "customerPaymentProfileId" go last in block "paymentProfile" and only in this order: defaultPaymentProfile, customerPaymentProfileId.&lt;BR /&gt;&lt;BR /&gt;So I have two questions now:&lt;BR /&gt;1. I there any chance to get it fixed?&lt;BR /&gt;2. I can not find the "correct" place for the "customerType" field where API accepts it, could somebody tell me?&lt;BR /&gt;btw I wasted few hours trying to understand what was wrong there and found this post only when tried to find authorize.net bug tracker.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 08:58:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/61804#M36204</guid>
      <dc:creator>Artyom</dc:creator>
      <dc:date>2018-02-22T08:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bug report? updateCustomerPaymentProfileRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/61805#M36205</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/23468"&gt;@Artyom&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you checked our sample code for node for it&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sample-code-node" target="_blank"&gt;https://github.com/AuthorizeNet/sample-code-node&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently as both json/xml are mapping to same XSD schema we have this ordering restraint .&lt;/P&gt;
&lt;P&gt;Going&amp;nbsp; forward we are working on our next gen SDKs which will be swagger driven and wont have this issue .&amp;nbsp; Stay tuned for it !!!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you can try the json requests using our try it tab on API reference to quickly check the request .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/index.html#customer-profiles-update-customer-payment-profile&amp;nbsp;" target="_blank"&gt;https://developer.authorize.net/api/reference/index.html#customer-profiles-update-customer-payment-profile&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt; "updateCustomerPaymentProfileRequest": {&lt;BR /&gt; "merchantAuthentication": {&lt;BR /&gt; "name": "78BZ5Xprry",&lt;BR /&gt; "transactionKey": "8s2F95Q7brhHd7Tn"&lt;BR /&gt; },&lt;BR /&gt; "customerProfileId": "10000",&lt;BR /&gt; &lt;BR /&gt; "paymentProfile": {&lt;BR /&gt; "customerType" : "business",&lt;BR /&gt; "billTo": {&lt;BR /&gt; "firstName": "John",&lt;BR /&gt; "lastName": "Doe",&lt;BR /&gt; "company": "",&lt;BR /&gt; "address": "123 Main St.",&lt;BR /&gt; "city": "Bellevue",&lt;BR /&gt; "state": "WA",&lt;BR /&gt; "zip": "98004",&lt;BR /&gt; "country": "USA",&lt;BR /&gt; "phoneNumber": "000-000-0000",&lt;BR /&gt; "faxNumber": ""&lt;BR /&gt; },&lt;BR /&gt; "payment": {&lt;BR /&gt; "creditCard": {&lt;BR /&gt; "cardNumber": "4111111111111111",&lt;BR /&gt; "expirationDate": "2026-01"&lt;BR /&gt; }&lt;BR /&gt; },&lt;BR /&gt; "defaultPaymentProfile": false,&lt;BR /&gt; "customerPaymentProfileId": "20000"&lt;BR /&gt; },&lt;BR /&gt; "validationMode": "liveMode"&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps .&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 09:48:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/61805#M36205</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-02-22T09:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bug report? updateCustomerPaymentProfileRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/94952#M58682</link>
      <description>&lt;P&gt;I’ve run into similar API quirks before, and sometimes what looks like a backend issue turns out to be a small mismatch in identifiers or environment data. It reminds me of how tricky visual identification can be in other fields too. When I’m unsure about a &lt;A href="https://buganalyzr.com/" target="_self"&gt;bug ID from a photo&lt;/A&gt;, I use&amp;nbsp;to quickly confirm details through image recognition. In tech or nature, accurate identification upfront usually saves a lot of debugging later on.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 19:16:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Bug-report-updateCustomerPaymentProfileRequest/m-p/94952#M58682</guid>
      <dc:creator>Raphaël12</dc:creator>
      <dc:date>2026-03-04T19:16:26Z</dc:date>
    </item>
  </channel>
</rss>

