<?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 After parsing a value an unexpected character was encountered: in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/After-parsing-a-value-an-unexpected-character-was-encountered/m-p/68837#M41971</link>
    <description>&lt;P&gt;This is my request body:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'{ "getHostedPaymentPageRequest": { "merchantAuthentication": { "name": "********", "transactionKey": "*********" }, "transactionRequest": { "transactionType": "authCaptureTransaction", "amount": "20.00", "profile": { "customerProfileId": "123456789" }, "customer": { "email": "ellen@mail.com" }, "billTo": { "firstName": "Ellen", "lastName": "Johnson", "company": "Souveniropolis", "address": "14 Main Street", "city": "Pecan Springs", "state": "TX", "zip": "44628", "country": "USA" } }, "hostedPaymentSettings": { "setting": [ { "settingName": "hostedPaymentReturnOptions", "settingValue": "{\"showReceipt\": false, \"url\": \"&lt;A href="https://www.google.com\" target="_blank"&gt;https://www.google.com\&lt;/A&gt;", \"urlText\": \"Continue\", \"cancelUrl\": \"&lt;A href="https://www.google.com\" target="_blank"&gt;https://www.google.com\&lt;/A&gt;", \"cancelUrlText\": \"Cancel\"}" }, { "settingName": "hostedPaymentButtonOptions", "settingValue": "{\"text\": \"Pay\"}" }, { "settingName": "hostedPaymentStyleOptions", "settingValue": "{\"bgColor\": \"blue\"}" }, { "settingName": "hostedPaymentPaymentOptions", "settingValue": "{\"cardCodeRequired\": false, \"showCreditCard\": true, \"showBankAccount\": true}" }, { "settingName": "hostedPaymentSecurityOptions", "settingValue": "{\"captcha\": false}" }, { "settingName": "hostedPaymentShippingAddressOptions", "settingValue": "{\"show\": false, \"required\": false}" }, { "settingName": "hostedPaymentBillingAddressOptions", "settingValue": "{\"show\": true, \"required\": false}" }, { "settingName": "hostedPaymentCustomerOptions", "settingValue": "{\"showEmail\": false, \"requiredEmail\": false, \"addPaymentProfile\": true}" }, { "settingName": "hostedPaymentOrderOptions", "settingValue": "{\"show\": true, \"merchantName\": \"G and S Questions Inc.\"}" }, { "settingName": "hostedPaymentIFrameCommunicatorUrl", "settingValue": "{\"url\": \"&lt;A href="https://mysite.com/special\" target="_blank"&gt;https://mysite.com/special\&lt;/A&gt;"}" } ] } } }'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getting the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"messages":{"resultCode":"Error","message":[{"code":"E00001","text":"After parsing a value an unexpected character was encountered: s. Path 'getHostedPaymentPageRequest.hostedPaymentSettings.setting[0].settingValue', line 1, position 603."}]}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can somebody please help me out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2019 12:28:16 GMT</pubDate>
    <dc:creator>ajit</dc:creator>
    <dc:date>2019-08-23T12:28:16Z</dc:date>
    <item>
      <title>After parsing a value an unexpected character was encountered:</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/After-parsing-a-value-an-unexpected-character-was-encountered/m-p/68837#M41971</link>
      <description>&lt;P&gt;This is my request body:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'{ "getHostedPaymentPageRequest": { "merchantAuthentication": { "name": "********", "transactionKey": "*********" }, "transactionRequest": { "transactionType": "authCaptureTransaction", "amount": "20.00", "profile": { "customerProfileId": "123456789" }, "customer": { "email": "ellen@mail.com" }, "billTo": { "firstName": "Ellen", "lastName": "Johnson", "company": "Souveniropolis", "address": "14 Main Street", "city": "Pecan Springs", "state": "TX", "zip": "44628", "country": "USA" } }, "hostedPaymentSettings": { "setting": [ { "settingName": "hostedPaymentReturnOptions", "settingValue": "{\"showReceipt\": false, \"url\": \"&lt;A href="https://www.google.com\" target="_blank"&gt;https://www.google.com\&lt;/A&gt;", \"urlText\": \"Continue\", \"cancelUrl\": \"&lt;A href="https://www.google.com\" target="_blank"&gt;https://www.google.com\&lt;/A&gt;", \"cancelUrlText\": \"Cancel\"}" }, { "settingName": "hostedPaymentButtonOptions", "settingValue": "{\"text\": \"Pay\"}" }, { "settingName": "hostedPaymentStyleOptions", "settingValue": "{\"bgColor\": \"blue\"}" }, { "settingName": "hostedPaymentPaymentOptions", "settingValue": "{\"cardCodeRequired\": false, \"showCreditCard\": true, \"showBankAccount\": true}" }, { "settingName": "hostedPaymentSecurityOptions", "settingValue": "{\"captcha\": false}" }, { "settingName": "hostedPaymentShippingAddressOptions", "settingValue": "{\"show\": false, \"required\": false}" }, { "settingName": "hostedPaymentBillingAddressOptions", "settingValue": "{\"show\": true, \"required\": false}" }, { "settingName": "hostedPaymentCustomerOptions", "settingValue": "{\"showEmail\": false, \"requiredEmail\": false, \"addPaymentProfile\": true}" }, { "settingName": "hostedPaymentOrderOptions", "settingValue": "{\"show\": true, \"merchantName\": \"G and S Questions Inc.\"}" }, { "settingName": "hostedPaymentIFrameCommunicatorUrl", "settingValue": "{\"url\": \"&lt;A href="https://mysite.com/special\" target="_blank"&gt;https://mysite.com/special\&lt;/A&gt;"}" } ] } } }'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getting the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"messages":{"resultCode":"Error","message":[{"code":"E00001","text":"After parsing a value an unexpected character was encountered: s. Path 'getHostedPaymentPageRequest.hostedPaymentSettings.setting[0].settingValue', line 1, position 603."}]}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can somebody please help me out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 12:28:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/After-parsing-a-value-an-unexpected-character-was-encountered/m-p/68837#M41971</guid>
      <dc:creator>ajit</dc:creator>
      <dc:date>2019-08-23T12:28:16Z</dc:date>
    </item>
  </channel>
</rss>

