Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Logging order that don't authorize



******    message to minivend-users from "kyle@invisio.com" <kyle@invisio.com>     ******

I log all bad transactions from the failed page with a custom tag:

I placed the following in minivend.cfg (because I use it for multiple cats)
it could probably be placed in catalog.cfg though

UserTag an_bad Routine <<EOR
sub {
	logError("Authorizenet Raw:\n $Vend::Session->{authorizenet_raw}\n");
	return '';
}
EOR

Then on the special page failed.html at the top I put the tag [an_bad]
and it logs the error in the catalogs error.log file.



The above was all set up for using authorizenet, to log cybercash errors it
would
be something like: (not tested)

UserTag cyber_bad Routine <<EOR
sub {
	logError("Cybercash Error:\n $Vend::Session->{cybercash_error}\n");
	return '';
}
EOR

and then in failed.html insert the tag:
[cyber_bad]


There are many ways to modify this type of process, just read up on
custom tags.

Kyle Cook (KC)




At 11:31 AM 1/6/00 -0500, you wrote:
>******    message to minivend-users from Eric Paul <epaul@spellbook.net>     
>******
>
>I was reviewing my customer's batchouts on CyberCash today, and I found 
>that someone had tried to order a number of products, but their card did 
>not authorize.  I was rather surprized that I could find NOTHING in the 
>error log to even indicate that someone had tried to place an order and it 
>failed.  Is there any easy way to log bad order attempts, either in the 
>server logs or via email?
>
>Eric
>---
>Eric Paul
>SpellBook Systems
>http://www.spellbook.net
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: