Tom,
I followed your steps exactly from Expert One-On-One in order to get a PL/SQL window to authorize.net (for credit card and check processing). It works, however I am receiving an ORA-28868 error 2 out of every 10 tries. I am not sure what is causing this, and I can't find anything in searches that is relevant to my problem. I have copied the correct certificate, and I am beyond the patch where this problem occurs. Running 9.2.0.1.0 on Windows 2000
SQLWKS> declare
2> req varchar2(400);
3> resp utl_http.resp;
4> value long; --VARCHAR2(1024);
5> URL VARCHAR2(32767);
6> l_wallet_path varchar2(255) := 'file:C:\Documents and Settings\Administrator\ORACLE\WALLETS';
7> BEGIN
8> url := '</code>
https://transact.authorize.net/gateway/transact.dll?'; 9> url := url || 'x_login=*************&';
10> url := url || 'x_tran_key=**********&';
11> url := url || 'x_version=3.1&';
12> url := url || 'x_test_request=TRUE&';
13> url := url || 'x_method=CC&';
14> url := url || 'x_type=AUTH_CAPTURE&';
15> url := url || 'x_amount=19.99&';
16> url := url || 'x_delim_data=TRUE&';
17> url := url || 'x_delim_char=,&';
18> url := url || 'x_relay_response=FALSE&';
19> --CC Info
20>
21> url := url || 'x_card_num=4007000000027&';
22> url := url || 'x_exp_date=1106&';
23> url := url || 'x_description=TEST&' ;
24> url := url || 'x_trans_id=24601&';
25>
26>
27>
28> req := utl_http.request(url,NULL,l_wallet_path,'wallet9i');
29>
30> dbms_output.put_line(REQ);
31>
32>
33>
34> END;
35>
36>
Statement processed.
1,1,1,(TESTMODE) This transaction has been approved.,000000,P,0,,TEST,19.99,CC,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,33FF68EF07CBBFC17884C9A5E2923F99,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
SQLWKS> declare
2> req varchar2(400);
3> resp utl_http.resp;
4> value long; --VARCHAR2(1024);
5> URL VARCHAR2(32767);
6> l_wallet_path varchar2(255) := 'file:C:\Documents and Settings\Administrator\ORACLE\WALLETS';
7> BEGIN
8> url := '
https://transact.authorize.net/gateway/transact.dll?'; <code>
9> url := url || 'x_login=*********&';
10> url := url || 'x_tran_key=**********&';
11> url := url || 'x_version=3.1&';
12> url := url || 'x_test_request=TRUE&';
13> url := url || 'x_method=CC&';
14> url := url || 'x_type=AUTH_CAPTURE&';
15> url := url || 'x_amount=19.99&';
16> url := url || 'x_delim_data=TRUE&';
17> url := url || 'x_delim_char=,&';
18> url := url || 'x_relay_response=FALSE&';
19> --CC Info
20>
21> url := url || 'x_card_num=4007000000027&';
22> url := url || 'x_exp_date=1106&';
23> url := url || 'x_description=TEST&' ;
24> url := url || 'x_trans_id=24601&';
25>
26>
27>
28> req := utl_http.request(url,NULL,l_wallet_path,'wallet9i');
29>
30> dbms_output.put_line(REQ);
31>
32>
33>
34> END;
35>
36>
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1556
ORA-28868: certificate chain check failed
ORA-06512: at line 28
Any help or suggestions would be appreciated.
Thanks,
Scott