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

RE: http_url_post_raw

Don't you need double quotes (") around your ssl_avs_address tag value?
The sample in your book does.

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Vikas M
Sent: Wednesday, November 12, 2008 1:55 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: http_url_post_raw

Hi Everybody,
 Please focus on giving me solution of the problem I described.
All the information in this query is  just  testing data I made up. Its
fake name with fake address with fake credit card number with fake
expiration date. I hope this puts all the concerns to rest.
I am getting an error saying that its invalid card number when I put
this info on the browser. But when I try to do the same testing using
Scott's API I get an error from the server that request is not well
formed. If anybody can help in that , it would be great.
(the developer guide is available here:



Vikas Mishra
 <outbind://124/vikasm@xxxxxxxxxx> vikasm@xxxxxxxxxx
IT Applications
SCJ Insurance Services
Hi Everybody,
 I am using this API http_url_post_raw  to validate/charge crdit card
but i get a return error saying that request is not well formed . This
error is actually being returned from credit card verification server so
it is communicating with it.
But when I use the same request on web browser page , it works fine. Can
anybody please point out where am I making the mistake? Here are the
 'ssl_avs_address>1254 Las Positas '+                                 
 'zip></txn>' ;                                                       
 eval      rc = http_url_post_raw(                   
           'https://www.myvirtualmerchant.com/'    + 
             : %addr(xmldata): %len(%trimr(xmldata)) 
             : 1                                     
             : %paddr('INCOMING')                    
             : 1)                                    
Looks like the credit card server doesnt receive the above request
properly and returns me an error saying request not well formed. This
error is listed as one of their return errors.
But when I do paste of same request on browser page, I get proper
Vikas Mishra
 <outbind://118/vikasm@xxxxxxxxxx> vikasm@xxxxxxxxxx
IT Applications
SCJ Insurance Services

This is the FTPAPI mailing list.  To unsubscribe, please go to: