Previous in Contents Next in Contents

ICreditCardEncryption2::GenPayInstruction

Syntax

STDMETHOD GenPayInstruction(
HWND
hWnd// in
BYTE *pvarBlob// in
longcLen// in
BSTR bstrFriendlyName// in
BSTRbstrTotal// in
BSTRbstrHashOrder// in
ICreditCardEncryption2_CallBack *
pCallBack// in
VARIANT *pvarNameValueArray// in
);

Description

The GenPayInstruction method generates a payment instruction (PI) and returns the PI as a set of name/value pairs.

Parameters

hWnd
Window handle to the parent window.
pvarBlob
Blob that was stored when the card was added.
cLen
Length of the blob.
bstrFriendlyName
BSTR value containing the friendly name of the credit card selected.
bstrTotal
BSTR value containing the amount of the purchase, received from the merchant.
bstrHashOrder
BSTR value containing the order hash information received from the merchant.
pCallBack
Pointer to the ICreditCardEncryption2_CallBack interface implemented by the Credit Card CPC. This interface contains methods that return the credit card and billing information as a structure to the encryption protocol.
pvarNameValueArray
Name/value VARIANT built by the encryption protocol and returned to the merchant. The encryption protocol produces this VARIANT.

© 1997-2000 Microsoft Corporation. All rights reserved.