Click or drag to resize

ICreditCardsSaveCreditCardHandler Property

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

Namespace:  DotNetBrowser.Card
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.20.0
Syntax
C#
IHandler<SaveCreditCardParameters, SaveCreditCardResponse> SaveCreditCardHandler { get; set; }

Property Value

Type: IHandlerSaveCreditCardParameters, SaveCreditCardResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe ICreditCards has already been disposed.
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.

See Also