Please help, we have tried using both the ONCR tag and the
CyberCash CFX tag that is posted on Allaire site. I am
looking for the syntax to void a transaction. Here is the
process we are going through.
1. Run through and check the pop.status
a. Success - cool
1. Check the AVS code
a. If code AVS is good not a problem
b. If code AVS is bad, here is my problem so I try to
void the transaction with the following code
ONCR Version:
<cfx_oncr_cybercash
ccps_host = "http://cr.cybercash.com/cgi-bin/"
cybercash_id = "#CyberCash_ID#"
merchant_key = "#Merch_Key#"
trans_type = "void"
order_id = "#OrderID#"
amount = "#request.currency# #Price#"
cc_number = "#CCNumber#"
cc_exp="#Month#/#Year#"
cc_type="#CCType#"
cc_name = "#CCName#"
cc_address = "#CCAddress#"
cc_city = "#CCCity#"
cc_state = "#CCState#"
cc_zip = "#CCZip#"
cc_country = "#CCCountry#"
name = "pop_void">
CyberCash/Allaire Version:
<cfx_cybercash
version="3.2"
cybercash_id = "#CyberCash_ID#"
ccps_host = "http://cr.cybercash.com/cgi-bin/"
merchant_key = "#Merch_Key#"
action="void"
order_id="#OrderID#"
mo_price = "#request.currency# #Price#"
cpi_card_number = "#CCNumber#"
cpi_card_exp="#Month#/#Year#"
cpi_card_name = "#CCName#"
cpi_card_address = "#CCAddress#"
cpi_card_city = "#CCCity#"
cpi_card_state = "#CCState#"
cpi_card_zip = "#CCZip#"
cpi_card_country = "#CCCountry#"
outputPOPquery="pop_void">
I get no error messages, or query output information. When
you go back and try to rerun a transaction that failed the
Address Verification System(AVS) but had a status of success
first it shows as the pop.status being success-duplicate
saying that the card had already been approved. We need to
be able to void the card if the address did not match and
then let the user rerun it again with the right information.
I guess the main point here is how are other people handling
the voiding of a transaction once it's been run and the avs
stuff comes back bad. We are using AutoMark and AutoSettle
up at CyberCash. We are doing all of this real time and
need because of the business model to stay that way. Any
help that anybody can provide would be great.
Thanks,
Bill
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists