[ic] Getting IC to display Cybercash's error/failure string

Randy Clapp interchange-users@lists.akopia.com
Fri May 25 15:22:01 2001


All,

I'm having a issue trying to get cybercash fully integrated into the demo
Construct catalog.  I'm running IC v4.6.1.  

Following instructions posted to this list, I have gotten cybercash
installed and configured.  Successful transactions process through just
fine, but my problem is with non-successful transactions.  The checkout page
lists that "There were errors in your last submission. They are shown in RED
below." but then doesn't list anything in red.
I saw a post about adding the following to the checkout page to display the
Cybercash errors:
	[if data session cybercash_error]
	        <FONT COLOR=__CONTRAST__>CyberCash reports [data session
cybercash_error].</FONT>
	[/if]

But this also doesn't work.  If I take out the IF statement, the errors are
displayed.  So there's got to be something wrong with my implementation and
the IF statement, but I'm not sure what it could be.  My programming syntax
could be a little off, but I think I'm just copying the same format that is
working other places in the script.  Can anyone help?

Additionally, I have one more question.  When the e-mails are sent out to
the Merchant, they include the credit card number used by the customer.  Is
there any way to change this to the number that cybercash displays <1st 2
digits>*<last 4 digits>?

Thanks,
Randy Clapp