Hi All,
I am trying to grab results from a cfhttp post, but do not know how to manipulate the results.
This is an example of the results:
complete
.
card_number=411111xxxx1111
settlement_date=31/07/00
response_text=INVALID TRANSACTION
amount=100
status=complete
txnref=0007311428202312
bank_ref=000731000024
card_desc=VISA
response_code=12
card_expiry=01/01
MID=24
card_type=6
time=2000-07-31 14:28:20
command=purchase
result=0
How do i turn the results into variable. Ie how do grab the status as a variable with len functions etc?
If the result is failed the output will look like this:
failed
.
status=failed
result=-1
Any suggestions?
Thanks.
I am trying to grab results from a cfhttp post, but do not know how to manipulate the results.
This is an example of the results:
complete
.
card_number=411111xxxx1111
settlement_date=31/07/00
response_text=INVALID TRANSACTION
amount=100
status=complete
txnref=0007311428202312
bank_ref=000731000024
card_desc=VISA
response_code=12
card_expiry=01/01
MID=24
card_type=6
time=2000-07-31 14:28:20
command=purchase
result=0
How do i turn the results into variable. Ie how do grab the status as a variable with len functions etc?
If the result is failed the output will look like this:
failed
.
status=failed
result=-1
Any suggestions?
Thanks.