[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] HTTPAPI - Credit card settlement issues logging/debugging question..



It is possible someone just wrote a wrapper program named HTTP_POST

 

Can you see what that program is, where it exists and what it does

 

Do a dsppgm http_post to view some details about it

 

 

 

From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx> On Behalf Of Scott Klement
Sent: Wednesday, October 28, 2020 12:18 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Ftpapi] HTTPAPI - Credit card settlement issues logging/debugging question..

 

Hello Farhan,

HTTPAPI does not have an interface like the code example you've posted.   You cannot access it via CALL/PARM like that.

Are you certain that you are using HTTPAPI?  This code doesn't look familiar at all.

-SK

 

On 10/28/2020 5:21 AM, Farhan Qadri wrote:

Hi  Guys/Gurus,

 

I am a new bee to this mailing list and also to HTTPAPI programs and usages. I have a situation that one of our client company is having issues in settlement of credit cards using HTTP_POST procedure under HTTPAPI. The bad thing is that it works for 25% or more of orders correctly and seems like sending wrong feedback or response to us for many other orders which gets settled at bank when we inquire the client. But at the end of the day we have to go through a manual process of finding out how many got settled and how many have wrong statuses and needs to set their statuses accordingly to get those orders to next invoice process every day for the past month or so.

 

I am exhausted to read those programs and how they get feedback from the calls to API’s but still am not close enough to even ask what to look and how to look at things. Have gone through many documentations on HTTPAPI from Scott and also FTPAPI mailing list for many thread but seems like we have experienced people talking and getting answers.

 

Our iseries at client is at V7R3M0 and we have secure socket layer protocols at:

Protocols

*TLSV1.2

*TLSV1.1

*TLSV1  

*SSLV3  

 

We have even copied the installed library LIBHTTP from another client which did recent install to adapt new protocols but to no avail.

 

Our Authorization and settlement program calls HTTP_POST program as follows:

 

* send http post for auth request                                                           

C                   CALL      'HTTP_POST'                          99                        

C                   PARM      dsURL         eURL                                              

C                   PARM      dqData        eData                                            

C                   PARM      TPWAIT        eTimeout                                         

C                   PARM      *blanks       eContentType                                     

C                   PARM      *blanks       eAsciiCvt                      entry:Cvt to ASCII

 *                                                                                            

C                   PARM      *blanks       eRetData                       Rtrn:data received

C                   PARM      *blanks       eErrorText                     Rtrn:Error text   

  

Please ask relevant questions so I can give feedback.

 

My only question at this moment is what to inquire and how and what to debug to get to the bottom of this strange phenomenon to get any answers. I have never worked with this API before and have inherited recently to support it.

 

Thanks and regards

Farhan  



The information transmitted is intended only for the person or entity to which it is addressed and may contain proprietary, business-confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi