Akopia Akopia Services

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

Re: [mv] MV Order Number vs Cybercash Order-ID



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Christopher Thompson (ct@arborinternet.com):
> 
> I asked about the status of the [cybercash-response] UserTag a while back,
> but got no answer. Does anyone know the status if this UserTag? It could
> be used to return values from the CyberCash transaction. I would assume
> that you could then use the CyberCash order ID rather than the order
> counter for the order number.

I would think it would work in MV4, possibly not in 3.14. It all just
depends on setting a hash with the CC results. I *think* I posted something
called cybercash-response, I assume it would have been something as simple as:

UserTag cybercash-response Order parameter
UserTag cybercash-response PosNumber 1
UserTag cybercash-response Routine <<EOR
sub {
	my ($param) = @_;
	return $Vend::Session->{cybercash_result}{$param} || '';
}
EOR

However, that is a bit unneeded, for with MV4 you can get it directly like:

Transaction ID: [calc] $Session->{cybercash_result}{'pop.txn-id'};    [/calc]
Auth Code:      [calc] $Session->{cybercash_result}{'pop.auth-code'}; [/calc]
AVS:            [calc] $Session->{cybercash_result}{'pop.avs_code'};  [/calc]

-- 
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>

I have a cop friend who thinks he ought be able to give a new ticket;
"too dumb for conditions".
-
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: