cancel
Showing results for 
Search instead for 
Did you mean: 

Empty Response returned from JSON post request

Hi,

 

I'm writing a direct integration against Authorize.Net using JSON and even though I get a HTTP Status 200, I'm getting an empty response.

 

There is an example of the request;

 

{
  "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": "***"
      }
    }
  }
}

 

I hope someone can point me in the right direction.

 

Kind regards

GeordieMc
Member
0 REPLIES 0