Interface SaveCreditCardCallback

All Superinterfaces:
AsyncCallback<SaveCreditCardCallback.Params,SaveCreditCardCallback.Action>, BrowserAsyncCallback<SaveCreditCardCallback.Params,SaveCreditCardCallback.Action>, BrowserCallback, Callback
All Known Implementing Classes:
DefaultSaveCreditCardCallback, DefaultSaveCreditCardCallback, DefaultSaveCreditCardCallback

A callback that is invoked when the user is prompted to save a credit card to the credit card store.

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 SaveCreditCardCallback.Action.save() method 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 SaveCreditCardCallback.Action.decline() method 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 callback is not invoked if autofill is disabled.