finishApproveOrder

After a merchant app has re-entered the foreground following an auth challenge (@see CardClient.approveOrder), call this method to see if a user has successfully approved their Credit (or Debit) card as a payment source.

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 finishApproveOrder(intent).

Replace with

finishApproveOrder(intent)

After a merchant app has re-entered the foreground following an auth challenge (@see CardClient.approveOrder), call this method to see if a user has successfully approved their Credit (or Debit) card as a payment source.

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 CardPresentAuthChallengeResult.Success when calling CardClient.presentAuthChallenge. This is needed to properly verify that an authorization completed successfully.