Previous in Contents Next in Contents

ICreditCardEncryption2_Callback::GetCreditCard

Syntax

HRESULT GetCreditCard(
BSTR
bstrFriendname, // in
BSTR
bstrTotal// in
CREDITCARDINFO *pCreditCard// out
);

Description

The GetCreditCard method returns a pointer to the credit-card information in a CREDITCARDINFO structure. The user is always asked for a password before the credit card is returned. A Payment Builder must handle a failure on this routine by returning the result back to the Credit Card component.

Parameters

bstrFriendname
The display name for the credit card.
bstrTotal
String representing the total, passed to the encryption protocol.
pCreditCard
Pointer to the CREDITCARDINFO structure that will have the value returned if the user successfully enters the password.

© 1997-2000 Microsoft Corporation. All rights reserved.