Previous in Contents Next in Contents

Other Card Installation

An Other Card DLL can be added to the Credit Card component using the following installation interfaces:

The Other Card DLL supports an Automation interface (IPaymentCCTypeInstall) that is called during registration. The IPaymentCCTypeInstall interface then obtains a pointer to a Credit Card component interface (IPaymentOtherCardInstall). The Credit Card CPC only installs an Other Card if it is unique. These two interfaces determine whether the Other Card to be installed has unique types before installing the Other Card's types into the Payment Selector.

Note that the Credit Card component drives the actual installation process. The member functions of the IPaymentCCTypeInstall interface are support functions called by the Credit Card component to query the information necessary to install the Other Card DLL. The Credit Card CPC interacts with the Payment Manager during the install process.

The Credit Card DLL manages the installation process through the IPaymentCCTypeInstall interface of the Other Card DLL. During DLL registration, the Other Card writes a value into the registry informing the Credit Card CPC that it needs to be installed. The registry value is HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Shopper\Install CreditCard\"ProgID." The first time the Credit Card CPC runs, it will then install the Other Card.

Note that the Other Card installation process enforces type uniqueness across all CPCs by turning on and off types that conflict with other types. The Payment Manager determines the status of on or off for each type. For example, a new type may be turned off if the type conflicts with a type in another CPC installed in the Payment Manager.


© 1997-2000 Microsoft Corporation. All rights reserved.