Sorry guyz,

I did a small mistake here.


instead of secure.authorize.net SSL, I exported secure.directpaycorp.netSSL.

I corrected it. Now Its connecting to payment gateway.


My suggestion to developers:  Please Don't use test environment for
authorize.net payment gateway for your testing. It always replies with
"Transaction Approved status"... (I wasted all my day time here..)

instead of this, you can set the secure merchant account Test Flag for test
mode and do testing.








On Sat, May 2, 2009 at 9:57 PM, Kumaraswamy nandipati <
[email protected]> wrote:

> Hi.,
>
> I am integrating authorize.net AIM 3.1 PaymentGateway Processor for Credit
> Card transactions.
>
> for testing I set my merchant account into *test mode*.
>
> I exported SSL certificate from secure.authorize.net into my JVM keystore
> successfully.
>
> property in payment.properties file is :
>
> *payment.authorizedotnet.url=
> https://secure.authorize.net/gateway/transact.dll*
>
> While running the test case, I got this error.
>
>
> 2009-05-02 21:46:40,366 (TP-Processor2) [ AIMPaymentServices.java:447:INFO
> ]Created Authorize.Net properties file: {method=CC, url=
> https://secure.authorize.net/gateway/transact.dll, delimiter=|,
> relay=FALSE, transDescription=OfbizAuthNet, testReq=TRUE,
> emailMerchant=TRUE, ver=3.1, trankey=6eT53Pw26VFn4Z8t, cardtype=Visa,
> delimited=TRUE, login=xxxxxxxxx, password=#*#xxxxxxxxxxxxxxx123,
> emailCustomer=FALSE}
>
> 2009-05-02 21:46:40,374 (TP-Processor2) [ AIMPaymentServices.java:336:INFO
> ]TEST Authorize.net using url [
> https://secure.authorize.net/gateway/transact.dll]
>
> 2009-05-02 21:46:40,375 (TP-Processor2) [ AIMPaymentServices.java:337:INFO
> ]TEST Authorize.net request string {x_Address=Test Order, x_Last_Name=,
> x_Version=3.1, x_Card_Num=4222222222222 , [email protected],
> x_Login=theflowerexpert123, x_Currency_Code=null, x_City=Test Order,
> x_First_Name=, x_Method=CC, x_Country=IND, x_Type=AUTH_ONLY,
> x_Tran_Key=6exxxPw26VFn4Z8t, x_Email_Merchant=TRUE, x_Invoice_Num=Order
> 26830, x_Email_Customer=FALSE, x_Description=OfbizAuthNet, x_card_code=123,
> x_Amount=27.0, x_State=, x_Company=, x_Delim_Data=TRUE, x_Zip=Test Order,
> x_Exp_Date=0115, x_Delim_Char=|, x_Password=#*#xxxxxxxxxxxxxxxxxx123}
>
> 2009-05-02 21:46:40,375 (TP-Processor2) [ AIMPaymentServices.java:338:INFO
> ]TEST Authorize.net properties string {method=CC, url=
> https://secure.authorize.net/gateway/transact.dll, delimiter=|,
> transType=AUTH_ONLY, relay=FALSE, transDescription=OfbizAuthNet,
> testReq=TRUE, emailMerchant=TRUE, ver=3.1, trankey=6eT53Pw26VFn4Z8t,
> cardtype=Visa, delimited=TRUE, login=xxxxxxxxxxx123,
> password=#*#xxxxxxxxxxxxxxxxxx123, emailCustomer=FALSE}
>
> 2009-05-02 21:46:40,432 (TP-Processor2) [         HttpClient.java:421:INFO
> ]Connection opened to : https://secure.authorize.net/gateway/transact.dll
>
> 2009-05-02 21:46:40,433 (TP-Processor2) [         HttpClient.java:425:INFO
> ]Connection is of type HttpURLConnection, more specifically:
> sun.net.www.protocol.https.HttpsURLConnectionImpl
>
> 2009-05-02 21:46:41,000 (TP-Processor2) [ AIMPaymentServices.java:365:INFO
> ]Could not complete Authorize.Net transaction:
> org.ofbiz.base.util.HttpClientException: IO Error processing request
> (java.security.cert.CertificateException: No trusted certificate found)
>
>
>
> even I exported the the valid certificate, why I get this error??
>
>
>
>
>
>
> --
> Thanks,
> Kumaraswamy.N
> 91-9866805250.
>



-- 
Thanks,
Kumaraswamy.N
91-9866805250.

Reply via email to