Subject Re: Authorize.NET ???
From James Loughner <jwrl@suddenlink.net>
Date Fri, 20 Aug 2021 13:21:07 -0400
Newsgroups xb2net
Attachment(s) response.txtrequest.txtresponseJSON.txtrequestJSON.txt

Thanks that helped a bit but I'm not seeing result in the response data
structure???

Attached are some examples

I did get expected results but I see only in the log files

Jim



HTTP/1.1 200 OK
Cache-Control: no-store
Pragma: no-cache
Content-Type: application/xml; charset=utf-8
X-OPNET-Transaction-Trace: a2_c0204a9d-a0dd-4516-8e5f-7b6d90add29d-16284-3811973
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: x-requested-with,cache-control,content-type,origin,method,SOAPAction
Access-Control-Allow-Methods: PUT,OPTIONS,POST,GET
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000
X-Cnection: close
Date: Fri, 20 Aug 2021 16:45:31 GMT
Content-Length: 827
Connection: close

<?xml version="1.0" encoding="utf-8"?><createTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><refId>ADAACA00651592</refId><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages><transactionResponse><responseCode>1</responseCode><authCode>000000</authCode><avsResultCode>P</avsResultCode><cvvResultCode /><cavvResultCode /><transId>0</transId><refTransID /><transHash /><testRequest>1</testRequest><accountNumber>XXXX1111</accountNumber><accountType>Visa</accountType><messages><message><code>1</code><description>This transaction has been approved.</description></message></messages><transHashSha2 /></transactionResponse></createTransactionResponse>

POST /xml/v1/request.api HTTP/1.1
User-Agent: Xb2.NET/4.1.00.1461
Accept: text/xml
Connection: Close
Cache-Control: no-cache
Host: apitest.authorize.net
Content-Type: text/plain
Content-Length: 867

<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">  <merchantAuthentication>    <name>9unu2E3X2fW2</name>    <transactionKey>3Kh5kte26B4t7vXz</transactionKey>  </merchantAuthentication>  <refId>ADAACA00651592</refId>  <transactionRequest>    <transactionType>authCaptureTransaction</transactionType>      <amount>    10.00</amount>      <payment>        <creditCard>          <cardNumber>4111111111111111</cardNumber>          <expirationDate>2022-12</expirationDate>          <cardCode>432</cardCode>        </creditCard>      </payment>    <order>      <invoiceNumber>INV-ADAACA00651592</invoiceNumber>      <description>Product Description</description>    </order>    <authorizationIndicatorType>      <authorizationIndicator>final</authorizationIndicator>    </authorizationIndicatorType>  </transactionRequest></createTransactionRequest>

HTTP/1.1 200 OK
Cache-Control: no-store
Pragma: no-cache
Content-Type: application/json; charset=utf-8
X-OPNET-Transaction-Trace: a2_c0204a9d-a0dd-4516-8e5f-7b6d90add29d-16284-3670614
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: x-requested-with,cache-control,content-type,origin,method,SOAPAction
Access-Control-Allow-Methods: PUT,OPTIONS,POST,GET
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000
X-Cnection: close
Date: Fri, 20 Aug 2021 16:14:11 GMT
Content-Length: 131
Connection: close

{"messages":{"resultCode":"Error","message":[{"code":"E00001","text":"Object reference not set to an instance of an object."}]}}

POST /xml/v1/request.api HTTP/1.1
User-Agent: Xb2.NET/4.1.00.1461
Accept: application/json
Connection: Close
Cache-Control: no-cache
Host: apitest.authorize.net
Content-Type: application/json
Content-Length: 2

{}
Recent messages in this thread
 
-# Authorize.NET ??? James Loughner 19-Aug-2021 11:23 am
.|# Re: Authorize.NET ??? Boris Borzic <.> 19-Aug-2021 02:41 pm
.-# Re: Authorize.NET ??? (Current message) James Loughner 20-Aug-2021 01:21 pm
..-# Re: Authorize.NET ??? James Loughner 27-Aug-2021 09:36 am
...\# Re: Authorize.NET ??? Andreas Gehrs-Pahl 29-Aug-2021 07:51 pm