I'm developing in a local server environment using PWS, ColdFusion Studio and Access. I'm using the Coldfusion Cybercash tag, registered in administor. I'm trying to test and pass a transaction to Cybercash and get a response status. My test is made with my PC connected to the web via AOL. I have called cybercash with my code and they say all required fields are their and my test values are ok. The error returned is on my MStatus line? Note for test I have hardcoded all values. I'm not even sure if my data has been passed to Cybercash...any way to tell...my error is returned after about 10 sec's.
Can anyone identify the problem?? Thanks in advance...Jim
<CFX_CYBERCASH
version="3.2"
CCPS_Host=" cybercash_id="test-mck"
hash_secret="secret-test-mck"
merchant_key="key-test-mck"
outputpopquery="pop"
card_type="MC"
SERVER="r5e5b5"
timeout ="120"
cpi_card_address="cc"
cpi_card_exp="03/02"
cpi_card_name="aaaaaa bbbbbbb"
cpi_card_number="4444555566667777"
mo_order_id="123zz"
mo_price="usd25.99"
mo_version="mck-cfx-3.2.0.6">
<HTML>
<HEAD>
<TITLE>Order Status</TITLE>
</HEAD>
<!---if payment fails, show error message--->
<CFIF mstatus is "failure-hard">
Your order has not been processed. Our payment process returned the following error:<P>
<CFOUTPUT>#MErrMsg#</CFOUTPUT>
</CFIF>--->
<!---if payment succeeds, add ordered items to orders table and show confirmation--->
<CFIF mStatus is "success">
Your order has been processed. Your order ID is <CFOUTPUT>#session.cfid#</CFOUTPUT>. Please print this page for your records<P>
Can anyone identify the problem?? Thanks in advance...Jim
<CFX_CYBERCASH
version="3.2"
CCPS_Host=" cybercash_id="test-mck"
hash_secret="secret-test-mck"
merchant_key="key-test-mck"
outputpopquery="pop"
card_type="MC"
SERVER="r5e5b5"
timeout ="120"
cpi_card_address="cc"
cpi_card_exp="03/02"
cpi_card_name="aaaaaa bbbbbbb"
cpi_card_number="4444555566667777"
mo_order_id="123zz"
mo_price="usd25.99"
mo_version="mck-cfx-3.2.0.6">
<HTML>
<HEAD>
<TITLE>Order Status</TITLE>
</HEAD>
<!---if payment fails, show error message--->
<CFIF mstatus is "failure-hard">
Your order has not been processed. Our payment process returned the following error:<P>
<CFOUTPUT>#MErrMsg#</CFOUTPUT>
</CFIF>--->
<!---if payment succeeds, add ordered items to orders table and show confirmation--->
<CFIF mStatus is "success">
Your order has been processed. Your order ID is <CFOUTPUT>#session.cfid#</CFOUTPUT>. Please print this page for your records<P>