cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

403 Error: Forbidden

Hi,

 

While integrating with the payment gateway over the CIM API for the createCustomerProfileTransaction, we are getting the following error:

 

Caused by: org.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden

        at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:311)

        at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:200)

        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)

        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)

        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)

        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)

        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)

        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)

        at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

 

 

The requests were working correctly previously and this error started suddenly.

 

Could you please help in resolving this?

 

 

Thanks,

Meenal.

 

MerchantS2100
Contributor
12 REPLIES 12

Below are the requests that we were sending to authorize.net which was runnign successfully :

 

<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns1:CreateCustomerProfileTransaction xmlns:ns1="https://api.authorize.net/soap/v1/">
<ns1:merchantAuthentication>
<ns1:name>6RguEu8vF5gh</ns1:name>
<ns1:transactionKey>xxxxx</ns1:transactionKey>
</ns1:merchantAuthentication>

<ns1:transaction>
<ns1:profileTransAuthCapture xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:ProfileTransAuthCaptureType">
<ns1:amount>.1199</ns1:amount>
<ns1:customerProfileId>28286646</ns1:customerProfileId>
<ns1:customerPaymentProfileId>25736944</ns1:customerPaymentProfileId>
</ns1:profileTransAuthCapture>
</ns1:transaction>
</ns1:CreateCustomerProfileTransaction>
</soapenv:Body>
</soapenv:Envelope>

 

 

But now when we are trying to run the same request it is failing.

Please suggest if anything specific need to be checked on our end.

The same step up is used at our end without any changes. These request were running successfully till today afternoon, but are failing since then.

 

 

.1199? that not a valid amount

 

also can you run the code in your developer pc?

The SOAP request is running successfully on SOAP U by providing the amount as 0.1199 .

Also, in case the amount value is not valid, the error code "E00013" with message "Amount is invalid" should be received.