[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: http_url_post_raw issue
Please tell me that is a fictitious credit card and CVV number!!!!!
----- Original Message -----
From: Vikas M
Date: Wednesday, November 12, 2008 12:55 pm
Subject: http_url_post_raw issue
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> 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 details:
>
> xmldata=
>
> 'xmldata=XXXXXX
>
> '>YYYYYYYZZZZZZ
>
> 'ype>ccsale542121355647874'+
> '50212'+
>
>
> '42.30.00
>
> 'l_cvv2cvc2_indicator>1212<'+
>
> '/ssl_cvv2cvc2>8745
>
> 'st_name>JohnMuir<'+
> 'ssl_avs_address>1254 Las Positas '+
>
>
> 'Drconcor'+
>
> 'dCA94521
> 'zip>' ;
>
>
>
>
> eval rc = http_url_post_raw(
> 'https://www.myvirtualmerchant.com/' +
> 'VirtualMerchant/processxml.do?'
> : %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 result.
>
> Thanks,
> Vikas Mishra
> vikasm@xxxxxxxxxx
> IT Applications
> SCJ Insurance Services
>
>
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------