finishVault

After a merchant app has re-entered the foreground following an auth challenge (@see PayPalWebCheckoutClient.vault), call this method to see if a user has successfully authorized a PayPal account for vaulting.

Parameters

intent

An Android intent that holds the deep link put the merchant app back into the foreground after an auth challenge.


Deprecated

Auth state is now captured internally by the SDK. Please migrate to finishVault(intent).

Replace with

finishVault(intent)

After a merchant app has re-entered the foreground following an auth challenge (@see PayPalWebCheckoutClient.vault), call this method to see if a user has successfully authorized a PayPal account for vaulting.

Parameters

intent

An Android intent that holds the deep link put the merchant app back into the foreground after an auth challenge.

authState

A continuation state received from PayPalPresentAuthChallengeResult.Success when calling PayPalWebCheckoutClient.vault. This is needed to properly verify that an authorization completed successfully.