<?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 Empty Response when sending a JSON payment request in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-Response-when-sending-a-JSON-payment-request/m-p/75943#M47407</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if someone could help understand why I would get an empty response when I post a JSON message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently writing a direct integration and the JSOn object seems fine and I get a HTTP Status code of 200 when I hit the test endpoint, but the response is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a copy of the message structure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "createTransactionRequest": {
    "merchantAuthentication": {
      "name": "***",
      "transactionKey": "***"
    },
    "refId": "20555401",
    "transactionRequest": {
      "transactionType": "authCaptureTransaction",
      "amount": "10.25",
      "currencyCode": "GBP",
      "payment": {
        "creditCard": {
          "cardNumber": "***",
          "expirationDate": "2021-12",
          "cardCode": "***"
        }
      },
      "profile": {
        "createProfile": true
      },
      "order": {
        "invoiceNumber": "SALE1234",
        "description": "Test Product"
      },
      "shipping": {
        "amount": "4.25"
      },
      "customer": {
        "id": "12345",
        "email": "***"
      },
      "bill_to": {
        "firstName": "***",
        "lastName": "***",
        "company": "***",
        "address": "***",
        "city": "***",
        "state": "***",
        "zip": "***",
        "country": "***"
      }
    }
  }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone could point me in the write direction, I'd be apprecaited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 14:51:25 GMT</pubDate>
    <dc:creator>GeordieMc</dc:creator>
    <dc:date>2021-04-23T14:51:25Z</dc:date>
    <item>
      <title>Empty Response when sending a JSON payment request</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-Response-when-sending-a-JSON-payment-request/m-p/75943#M47407</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if someone could help understand why I would get an empty response when I post a JSON message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently writing a direct integration and the JSOn object seems fine and I get a HTTP Status code of 200 when I hit the test endpoint, but the response is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a copy of the message structure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "createTransactionRequest": {
    "merchantAuthentication": {
      "name": "***",
      "transactionKey": "***"
    },
    "refId": "20555401",
    "transactionRequest": {
      "transactionType": "authCaptureTransaction",
      "amount": "10.25",
      "currencyCode": "GBP",
      "payment": {
        "creditCard": {
          "cardNumber": "***",
          "expirationDate": "2021-12",
          "cardCode": "***"
        }
      },
      "profile": {
        "createProfile": true
      },
      "order": {
        "invoiceNumber": "SALE1234",
        "description": "Test Product"
      },
      "shipping": {
        "amount": "4.25"
      },
      "customer": {
        "id": "12345",
        "email": "***"
      },
      "bill_to": {
        "firstName": "***",
        "lastName": "***",
        "company": "***",
        "address": "***",
        "city": "***",
        "state": "***",
        "zip": "***",
        "country": "***"
      }
    }
  }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone could point me in the write direction, I'd be apprecaited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 14:51:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-Response-when-sending-a-JSON-payment-request/m-p/75943#M47407</guid>
      <dc:creator>GeordieMc</dc:creator>
      <dc:date>2021-04-23T14:51:25Z</dc:date>
    </item>
  </channel>
</rss>

