[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Minivend-Cybercash Comm problem SOLVED - thanks! Solution enclosed
Quoting mediamob (mediamob@dnaco.net):
> This code is modified from the demo catalog - since I only permit payment
> by snail mailed check or Credit Card, I only used a binary test, i.e. if
> not check, use credit card. Here's the code that works:
>
> >[if value fax_order]
> >&set = mv_payment Send Check or Money Order Via Snail Mail
> >[elseif config CyberCash]
> >&set = mv_payment Credit Card ([default mv_credit_card_type])
> >mv_credit_card_info=required
> >[/else]
> >[/if]
> >&final = yes
> >&set=mv_email [value email]
> >[/set]
>
THe only reason this is working is that [elseif] is not anything
that MiniVend recognizes and that option is never seen. In fact,
the whole construction is one big syntax error. I am guessing
you will have problems with fax_order now.
> It looks like the config variable must be explictly tested on the checkout
> page for the option to be activated. I already _knew_ that cybercash was
> enabled, so I didn't test for it in the first version.
>
> As far as I can tell, this requirement is not documented. Be advised.
>
It is certainly not a requirement. Looks like your problem was
trying to test for mv_credit_card_info=required. That only works
if in CreditCardAuto.
Sounds like you were trying to make an old demo checkout page (pre-3.12)
work with CyberCash.
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
When the only tool you have is a 131 Willow Lane, Floor 2 | || _ \
hammer, all your problems tend to Oxford, OH 45056 | || |_) |
look like nails. <mikeh@minivend.com> |___| _ <
-- Abraham Maslow 513.523.7621 FAX 7501 |_| \_\