const threeDSDetails = find(
get(submitError, 'paymentTransactionFailureDetails'),
({ failureType }) => failureType === 'REQUIRES_3DS_VERIFICATION'
);
const action = get(threeDSDetails, 'nextAction.attributes');
// handle the action by Drop-in component
dropin.handleAction(action);