[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Web services
Hello All:
I am submitting a HTTP Post to Pay Trace web services but when pay
trace received my Data String shows a weird character
Here is the Data String submitted to Pay Trace
Hello, and thank you for contacting Pay Trace.
We can see ' ¬- ' before the parmlist. Beyond that it is formatted
correctly. Here is the same information without the ' ¬- ' in there
which works correctly when submitted through a browser.
[1]https://paytrace.com/api/default.pay?parmlist=UN~demo123|PSWD~demo12
3|TERMS~Y|METHOD~ProcessTranx|TRANXTYPE~Authorization|CC~40128818888188
88|EXPMNTH~12|EXPYR~12|AMOUNT~1.00|CSC~999|BADDRESS~1234|BZIP~83852|INV
OICE~8888|
HERE is your string
[2]https://paytrace.com/api/default.pay?
¬-parmlist=UN~demo123|PSWD~demo123|TERMS~Y|METHOD~ProcessTranx|TRANXTYP
E~Authorization|CC~4012881888818888|EXPMNTH~12|EXPYR~12|AMOUNT~1.00|CSC
~999|BADDRESS~1234|BZIP~83852|INVOICE~8888|
Here is what I have in the program to test the HTTP Post
postData =
'parmlist=' +
'UN~demo123|PSWD~demo123|TERMS~Y|METHOD~ProcessTranx|' +
'TRANXTYPE~Authorization|CC~4012881888818888|EXPMNTH~12|' +
'EXPYR~12|AMOUNT~1.00|CSC~999|BADDRESS~1234|BZIP~83852|' +
'INVOICE~8888|'+ CRLF ;
rc = http_url_post('https://paytrace.com/api/default.pay?'
: %addr(postData)
: %len(%trimr(postData))
: '/tmp/httptest.html');
Any advise will be appreciate it if I am using the right HTTP_URL_POST
or should I use a Different POST Process to void the character that
they Pay trace found in my data string.
http_url_post_raw?
Regards,
Carlos Lugo
Multitec Consultants Group Inc.
( 310-717-7327
JCLUGO@xxxxxxxxx
References
1. https://paytrace.com/api/default.pay?parmlist=UN~demo123|PSWD~demo123|TERMS~Y|METHOD~ProcessTranx|TRANXTYPE~Authorization|CC~4012881888818888|EXPMNTH~12|EXPYR~12|AMOUNT~1.00|CSC~999|BADDRESS~1234|BZIP~83852|INVOICE~8888|
2. https://paytrace.com/api/default.pay
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------