Table of Contents

Property SaveCreditCardHandler

Namespace
DotNetBrowser.Card
Assembly
DotNetBrowser.dll

SaveCreditCardHandler

Gets or sets a handler that is used when the user is prompted to save a credit card to the credit card store

IHandler<SaveCreditCardParameters, SaveCreditCardResponse> SaveCreditCardHandler { get; set; }

Property Value

IHandler<SaveCreditCardParameters, SaveCreditCardResponse>

Remarks

The callback is invoked when the user submits a form with credit card information (a cardholder name, number, expiration date, CVV/CVC).

This callback is equivalent to the "Save Card?" bubble in Chromium.

Use the Save to save the credit card to the credit card store. All saved credit cards are shown in the suggestion pop-up when focusing the web form control.

Use the Decline to decline to save the credit card. If the current credit card is declined then the callback will be invoked again when submitting a web form with the same credit card.

The handler is not invoked if autofill is disabled.

Exceptions

ObjectDisposedException

The ICreditCards has already been disposed.