authorize.net certificate issue. Please help me????

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

authorize.net certificate issue. Please help me????

Kumaraswamy nandipati
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 , x_Email=[hidden email],
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.
Reply | Threaded
Open this post in threaded view
|

Re: authorize.net certificate issue. Please help me????

Kumaraswamy nandipati
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 <
[hidden email]> 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 , x_Email=[hidden email],
> 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 | Threaded
Open this post in threaded view
|

Re: authorize.net certificate issue. Please help me????

Ashish Vijaywargiya-5
It looks like that Marco is working in this area.
Please refer: https://issues.apache.org/jira/browse/OFBIZ-2417

I am sure he can help you in this area if you need more help.
Thanks !

--
Ashish

Kumaraswamy nandipati wrote:
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 <
[hidden email]> 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 , [hidden email],
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.

    



  

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: authorize.net certificate issue. Please help me????

mrisaliti@libero.it
In reply to this post by Kumaraswamy nandipati
Hi Kumaraswamy,

I had also your issue when I try to test authorize.net integration and then I read the following article (http://blogs.sun.com/andreas/entry/no_more_unable_to_find) and doing the suggested steps I fix the issue on trust certificate.
I found it from http://docs.ofbiz.org/display/OFBIZ/Google+Checkout+Integration.
Anyway I will commit my new work about Authorize.net (OFBIZ-2417) this evening if anyone disagree with this.
I have already tested and seems to me everything is ok.

Thanks
Marco

> It looks like that Marco is working in this area.
> Please refer: https://issues.apache.org/jira/browse/OFBIZ-2417
>
> I am sure he can help you in this area if you need more help.
> Thanks !
>
> --
> Ashish
>
> Kumaraswamy nandipati wrote:
> > 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 <
> > [hidden email]> 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 , x_Email=[hidden email],
> >> 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.
> >>
> >>
> >
> >
> >
> >
>