2016-06-24 6 views
2

Authorize.NET의 지불 게이트웨이 AIM 메서드를 사용하는 몇 가지 ColdFusion 응용 프로그램이 있습니다. 이 메서드는 CFHTTP 태그를 통해 전달 된 양식 필드를 사용합니다.Authorize.NET AIM 메서드 및 Secure2 끝점이있는 ColdFusion CFHTTP

https://secure.authorize.net/gateway/transact.dll

이에 :

얼마 전에 우리는 AIM에 대한 엔드 포인트는 이것에서, 변경하려는 것을 알게

https://secure2.authorize.net/gateway/transact.dll

몇 시도 실패 후, 작동 해. 위탁 인증서를 ColdFusion 응용 프로그램 서버에 바인드해야했습니다.

지난 몇 개월 동안 "secure2"엔드 포인트가 완벽하게 작동했습니다.

6 월 12 일에서 6 월 15 일 사이에 주문 처리가 중단되었습니다. 조사한 결과 연결 오류가 발생했습니다. 임시 해결 방안으로 응용 프로그램을 다시 "보안"끝점으로 전환했습니다.

우리는 현재 6 월 30 일 이후에 어떤 일이 발생할 것인지 확신하지 못하고 있습니다. 일부 팀은 아무 일도 일어나지 않을 것이라고 생각하고 모든 사람들은 모든 지불이 중단 될 것이라고 생각합니다.

"secure2"엔드 포인트가 내가 문제를 일으키는 이유를 알아 낸 다른 ColdFusion 개발자가 있습니까? 여기

이는 HTTP 응답에서 반환되는 메시지 내 코드

<cfset postToThisURL = "https://secure.authorize.net/gateway/transact.dll"> 
<cfset testTrans = "FALSE"> 

<cfhttp method="Post" url="#postToThisURL#"> 
<cfhttpparam type="Formfield" name="x_login" value="#authLoginID#"> 
<cfhttpparam type="Formfield" name="x_tran_key" value="#hashingKey#"> 

<cfhttpparam type="Formfield" name="x_version" value="3.1"> 
<cfhttpparam type="Formfield" name="x_type" value="AUTH_CAPTURE"> 
<cfhttpparam type="Formfield" name="x_method" value="CC"> 
<cfhttpparam type="Formfield" name="x_recurring_billing" value="FALSE"> 
<cfhttpparam type="Formfield" name="x_amount" value="#chargeTotal#"> 
<cfhttpparam type="Formfield" name="x_test_request" value="#testTrans#"> 
<cfhttpparam type="Formfield" name="x_duplicate_window" value="0"> 
<cfhttpparam type="Formfield" name="x_invoice_num" value="#left(invoiceNumber,20)#"> 
<cfhttpparam type="Formfield" name="x_description" value="#descriptionTxt# - #dateFormat(now(),'mm/dd/yyyy')#"> 

<cfhttpparam type="Formfield" name="x_customer_ip" value="#userIP#"> 
<cfhttpparam type="Formfield" name="x_delim_data" value="TRUE"> 
<cfhttpparam type="Formfield" name="x_delim_char" value="|"> 
<cfhttpparam type="Formfield" name="x_encap_char" value=""> 
<cfhttpparam type="Formfield" name="x_relay_response" value="FALSE"> 

<cfhttpparam type="Formfield" name="x_first_name" value="#left(listFirst(tempBuyer.ccName,' '),50)#"> 
<cfhttpparam type="Formfield" name="x_last_name" value="#left(listRest(tempBuyer.ccName,' '),50)#"> 
<cfhttpparam type="Formfield" name="x_address" value="#tempBuyer.ccAddress#"> 
<cfhttpparam type="Formfield" name="x_city" value="#tempBuyer.ccCity#"> 
<cfhttpparam type="Formfield" name="x_state" value="#tempBuyer.ccState#"> 
<cfhttpparam type="Formfield" name="x_zip" value="#tempBuyer.ccZip#"> 
<cfhttpparam type="Formfield" name="x_phone" value="#tempBuyer.ccPhone#"> 
<cfhttpparam type="Formfield" name="x_email" value="#tempBuyer.ccEmail#"> 

<cfhttpparam type="Formfield" name="x_card_num" value="#tempCardInfo.ccNumber#"> 
<cfhttpparam type="Formfield" name="x_exp_date" value="#tempCardInfo.ccExpireMo##tempCardInfo.ccExpireYr#"> 
<cfhttpparam type="Formfield" name="x_card_code" value="#tempCardInfo.ccSecurity#"> 

</cfhttp> 

의 다운 무식 버전입니다.

Error Detail: Connect Exception: Connect to secure2.authorize.net:443 [secure2.authorize.net/23.218.121.147] failed: Connection timed out: connect 

File Content: Connection Failure 

Statuscode: Connection Failure. Status code unavailable. 

Mimetype: Unable to determine MIME type of file. 

환경은 ColdFusion 10이 설치된 Windows 2012 서버입니다.

답변

0

메시지 : 연결 시간 초과 :

연결은 가 [secure2.authorize.net/23.218.121.147] 실패가 secure2.authorize.net:443하는 연결

당신을 알려줍니다 HTTP 클라이언트 (<cfhttp>)가 지정된 호스트 (secure2.authorize.net : url 속성)의 해결 된 IP (23.218.121.147)에 연결할 수 없음을 나타냅니다.

DNS (호스트 이름 확인)가 이전 IP (23.218.121.147)을 가리킨다 고 가정합니다. 대상 IP가 올바른지 확인하십시오 (다른 네트워크에서 호스트를 확인하거나 Authorize.NET 지원을 요청하십시오). 또한 테스트 목적으로 호스트 이름 대신 IP를 사용하면 다음과 같이 보입니다. https://23.218.121.147/gateway/transact.dll