Akopia Akopia Services

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

[mv] Fax OR Cybercash in the same 3.x Catalog SOLVED



******    message to minivend-users from mediamob <mediamob@dnaco.net>     ******


As Christopher Thompson pointed out, this issues was addressed in the
archive, but due to the heading was a bit hard to search out. I include it
here for anyone who has current interest.

My thanks to Mr. Thompson and to Kyle@invisio.com, the originator of the
solution.

Pat

{begin archive message}

To: minivend-users@minivend.com 
     Subject: Re: CyberCash Problem 
     From: "kyle@invisio.com" <kyle@invisio.com> 
     Date: Mon, 23 Aug 1999 18:18:22 -0500 
     In-Reply-To: <79E4C8980AECD01199730000F8662E79056726E8@NCVPSMAIL> 



In your checkout page something like:

[set checkout_profile]

# need to check if this is a mail in or cybercash
[if value which =~ /mail/i]
[perl config]
$Safe{config}->{CreditCardAuto} = 1;
$Safe{config}->{CyberCash} = 0;
return '';
[/perl]

&set=mv_payment By Mail
[/if]

# else set up a cybercash process
[else]
[perl config]
$Safe{config}->{CreditCardAuto} = 0;
$Safe{config}->{CyberCash} = 1;
return '';
[/perl]
&set = mv_payment Cybercash Authorized ([default mv_credit_card_type])
[/else]

&final = yes
[/set]


You will have to change the [if value which =~ /mail/i]
line to match what you have set up to check wether
the customer wants to use Cybercash or just mail in
the order. 

Another way to do it is to use 2 forms and 2 checkout profiles,
one for cybercash (same as your current one) and one that does
not include the cybercash settings.

Kyle

-
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: