Well hello to all friends of you and welcome to this new video where we are going to learn how to use our authentic b payment extension jean to be able to register users and devils within our application so let's see it. There was a. In. I'm going to see her first. We want to make them come in. Fay. We are in this console and we can create a new project or choose an existing one. And in our application we must have the authentic skirts component and loaded in the extensions part simply short extension after downloading them already know that it is in the happy hour community as long as the loads on their computer and they keep it in a place where you can find it . It is not the important thing that disappeared here and it is only loading here. When you apply your face for the first time abstention from a property where you can ask for an api. This stack we get from the forgotten part of the project configuration. And we take the key happy hour. Let's run away. We should. To the properties and paste. Remember not to have spaces before or after the code so that the valley presents an error. Once we do this we go to the authentication part and go to login methods for example here I already had a user create I will delete it to show them how it is done. Login method. And in the part where it says email and password provider. We edit the Moabite as we go. Already when it does not appear accredited we are ready to be able to create our user and and review in fairbanks. When we go to what it is then we are going to tell you through the blocks that when we click on the zhang button you can register. You no longer see to create a user. Through an email or a payment, this image will be taken from the box. From imei and. The payer's box. When we make a request to the sway that in the user registry the ideal is to learn. Cause notifications to realize when a user was created correctly or when alves we have an error or soon the user is registered or the password is invalid or. Suddenly some mistake that the beige returns to us, so for that there is this block is an event called fair bee still responsible. This event returns 2 variables, one is the Basque country and in others of the country with. How this works is to return 2 types of response can be a negative and a positive positive means that the user was created correctly and we can continue and the negative is that there is an error that is missing the red one or in some error with our user so to be able to discriminate this type of results because it is variable. In the documentation of fi beis on wifi we can see that. We have him. 2 answers once for him. Users It is not when done correctly because it will not return. 200 ok. That they are a summary or status with a reply message simply what we are going to dance. Let's say the status quo of. Equal to 200. Make us return that answer no. The answer was beautiful it returns in a format already and they are. Where you can not come back some. Data. When the data in barber fa el beis. Will come back when the bars are. Register correctly as we will have. Which one we are going to show here. How correctly we are going to have to. What kind of crime did we invite you to use later to do my authentication and write in secure databases of fair play net the imei and the rest so we can choose any of those values ​​through fbi blocks only let's give I will take this block converts the answer of this type and do not make it ready to learn. We rarely convert that list. In. That answer is already on a list. And once we convert it, we can say that returning the result through a notification, for example, can be a type of dialogue. Where we say The user. Welcome. We can tell you. A. It is a notification it. The good ovary he called me here the imei. Y. Comrade to be placed here in the middle of the. He has broken the treaty. With the team. The rock block. And to look for us from this list. Actually it was an answer allison type we turned it into a list and that is ready to look for us in the keywords. And in this case the keyword that never deleted them does not return it. I already saw that we do not realize that the user has registered, we are going to do a test, everything is perfectly configured, we are going to register. One account. Y. I don't prepay and we give it. They have registered. Already. Of so much. I don't love threw a mistake. Why is a gypsy block missing here, let's give it here. Madame Well, I think I should have already recorded it only that he threw us the error so we are going to try to register another. Of what a uterus does not. At. I'm leaving so they don't see. What is cheating because we do it here. Welcome usher i mean arroba hotmail.com well it looks like a line in the middle has been registered with success say perfect understood already and that our user registered in a single yes we have an error message because we can create a procedure that we have left start discriminate against these errors in the basilica in a very simple way here. I implemented we say that the answer in 200 can be any other mistake losing any answer for example if I try to record this. The user through the language in this test. Well, tell them to tell me the answer since they have. The road is going to make me an error again, you can with code 400 in this code can vary 403 f but what we are interested in seeing the message the message says that of that error. It makes reference to the fact that this is immediately there and that is why we have not just registered that there is no need to register you see it. Ok, how we handle that good mistake, then what we should do is use. In that list and they began to arrive within these values ​​until they found the message why. Unlike that of the positive response because its a single list with different values ​​ok but in those of errors it has identical lists to lists there is another list or its lists. Ok we are here for example is here what interests us is to enter this level then later to this level and find this value ok let's take out your elite no no and then we can play the one that comes out. We will do that quickly we come here we say that. Start delving into the lists. So we are selecting and keep the list until we reach the one we want. Ok, let's go home. We take the one. Wait wait for the test as follows I try again let's see which team in parentheses means that they enter a little more now we are going to enter inside. And where again. Do not select elite in error you spoke with the other in 2. And it would be this. Ok where is the error code and all this. This list is no longer useful because I eat. As a soloist he has the message so here I can already use a block like this. Where he. Manipulate us. That mistake brought me here to what you fear he will tell us. Which is the message. This is what you can find. Keywords that somehow within the lists in the answer. Already the keyword of the message that searches for this word and returns me the value. Nestor bonus the couple that. You can if we do, let's see what we already have the result. The idea is that we do not do this many times so they cannot include in the procedure for example we have here. Ii instead of using the answer because we properly converted the phi beta. Back somehow we leave it that way. This is what I have done. And then we can make a comparison for example if imei already exists is the case. We say that. Yes and the answer. The king face Juan. 40 y. When you capitalize everything the same and me. The 6. You can throw us. Another modification Error. And here we can put a simpler message. Come come. You can stop x. This way to personalize and signed. We will already have a much more presentable notification. That the way to do it is very simple is the same for eddie. Register or log in with a jerk to handle the same data, so I hope you liked it, you saw what premiering intro thanks to mario hugo on the you tube channel where he is publishing his intrapsique if they want an intro for your channel you can visit it in the video description I leave the link. I thought it was very beautiful thanks Mario and greetings to all and this next video. Bueno hola a todos amigos de y tú bienvenidos a este nuevo video donde vamos a aprender cómo usar nuestra extensión del pago b auténtica jean para poder registrar usuarios y los diablos dentro de nuestra aplicación así que vamos a verlo. Hubo un. En. Voy a verla primero queremos hacerles entraba fay veis un tour contó con y y acceder a nuestra consola no vamos a hablar aquí dentro jamás la consola. Estamos en esta consola ya podemos crear un proyecto nuevo o elegir uno existente. Y en nuestra aplicación debemos tener el componente de faldas auténtica y cargado en la parte extensiones simplemente corta extensión después de descargarlas ya saben que está en la comunidad de happy hour en tanto las cargas en su computador y la guardan en un lugar donde la puedes encontrar. No es lo importante desapareció aquí y solamente es cargar la aca. Cuando tu cara la aplicas la abstención por primera vez por el de una propiedad donde ta pedir una api. Esta pila conseguimos desde la parte de olvido configuración del proyecto. Y tomamos la clave happy hour. Huyamos. Debimos. A las propiedades y la pegamos. Recuerden no tener espacios ni antes ni después del código para que el valle presenta un error. Una vez hacemos esto vamos a la parte de autenticación y vamos a métodos de inicio de sesión por ejemplo aquí ya tenía yo un usuario crea voy a borrarlo para mostrarles cómo se hace. Método de inicio de sesión. Y en la parte donde dice proveedor de correo electrónico y contraseña. La editamos la moabita igual vamos. Ya cuando no aparece acreditado estamos listos para poder crear nuestro usuario y y revisan en fairbanks. Cuándo vamos a lo que es pues vamos a decirle a través de los bloques que cuando hacemos clic en el botón de zhang a registrarse puedes. No ya veis para crear un usuario. A través de un email o un pago esta imagen el pago lo vamos a tomar de la caja. Del imei y. La caja del pagador. Cuando hacemos una solicitud al vaivén de que en el registro de usuario lo ideal es aprender. Causar que las notificaciones para darnos cuenta cuando un usuario se creó correctamente o cuando alves tenemos un error o pronto ya el usuario está registrado o la contraseña es inválida o. De pronto algún error que nos devuelva el beis así que para eso existe este bloque es un evento llamado fair bee aun responsables. Este evento nos devuelve 2 variables una es el país vasco y en otras del pais con. Cómo funciona esto es vuelven a devolver 2 tipos de respuesta puede ser una negativa y otra positiva positiva quiere decir que el usuario se creó correctamente y podemos continuar y la negativa es que hay un error que le falta la roja o en algún error con con nuestro usuario así que para poder discriminar este tipo de resultados pues esta esta variable. En la documentación de fi beis en wifi podemos ver que. Le tenemos. 2 respuestas una vez para el. Usuarios. No está cuando se realiza correctamente pues no va a volver. 200 ok. Que son un resumen ni estatus con un mensaje de respuesta sencillamente qué es lo que vamos a bailar. Vamos a decir que el estatus quo de. Igual a 200. Nos haga el devolver esa respuesta no. La respuesta fue bella la devuelve en un formato ya y son. Donde puedes no va a volver unos. Datos. Cuando los datos en barber fa el beis. Va a volver cuando los bares se. Registra correctamente pues vamos a tener. Cuál vamos a mostrarlo aquí. Cuán correctamente vamos a tener que. Qué clase de delito hicimos que la invito que nos va a servir más adelante para hacer mi autenticación y poder escribir en bases de datos seguros de fair play net el imei y el resto así que podemos escoger cualquiera de esos valores a través de bloques fbi solamente demos. Tomaré este bloque las convierte la respuesta de este tipo y no la convierta en listas para aprender. Raramente convertimos esa lista. En. Esa respuesta ya son en una lista. Y una vez la convertimos pues podemos decir que nos devuelva el resultado a través de una notificación por ejemplo puede ser un tipo de diálogo. Dónde le digamos. El usuario. Bienvenido. Podemos decirle. A. Es una notificación lo. El ovario bueno él me llamó aquí el imei. Y. El camarada a a colocar aquí en medio del. Le ha roto el tratado. Con el equipo. El bloque de roca. Y que nos busque de esta lista. En realidad era una respuesta tipo allison lo convertimos en una lista y que está lista que nos busque en las palabras clave. Y en este caso la palabra clave que nunca les eliminó el ya no lo devuelve. Ya vi que no damos cuenta que el usuario se ha registrado vamos a hacer una prueba ya está todo perfectamente configurado vamos a registrar. Una cuenta. Y. No prepago y le damos. Tienen registrada. Ya. De tanta. No amo arrojó un error. Por qué falta aquí un bloque gitano vamos dale aquí entendido. Madame. Bueno creo que ya debía haberlo registrado sólo que él nos arrojó el error por eso vamos a intentar registrar otro. De lo un útero no. Arroba. Yo me voy para que no vean. Qué está haciendo trampa pues la hacemos aquí. Bienvenido el usher i mean arroba hotmail.com bueno luce una raya en la media se ha registrado con éxito diga entendido perfecto ya y que a nuestro usuario registrado en un sencillo sí tenemos un mensaje de error pues podemos crear un procedimiento que nos quede empiece a discriminar a este de esos errores en la basílica de una manera muy sencilla acá. Implementé decimos que la respuesta en el 200 puede ser cualquier otro error perder cualquier respuesta por ejemplo si yo intento que registrará este. El usuario a través del lenguaje en esta prueba. Pues dile que me digan la respuesta ya que tienen. La carretera me va a volver un error puedes con código 400 en este código puede variar puede 403 f pero lo que nos interesa ver el mensaje el mensaje dice que de ese error. Hace referencia a que esta inmedi ya existe y es así por qué no acabamos de registrar que no hay necesidad de registrar los ves. Ok cómo manejamos ese error bueno pues entonces ya lo que debemos hacer es usar. En esa lista y empezaron a llegar dentro de de estos valores hasta encontrar el mensaje por qué por qué. A diferencia de la de la respuesta positiva pues sus una sola lista con diferentes en valores ok pero en las de errores ella tiene listas idénticas a listas hay otra lista o sus listas. Ok estamos aquí por ejemplo está aquí lo que nos interesa es entrar a este nivel luego después a este nivel y encontrar este valor ok saquemos a su élite no no y después podemos jugar el que nos vaya saliendo. Vamos a hacer eso rápidamente venimos acá decimos que. Empieza a profundizar en la listas. Así que vamos seleccionando y ten de la lista hasta llegar al que queremos. Ok vamos a casa. Cogemos el uno. Esperen esperen el probando de la siguiente manera lo intento otra vez veamos qué equipo en paréntesis quiere decir que ingresan poquito má ahora vamos a entrar adentro. Y en donde otra vez. No selecciona elite en error hablabas con el otro en el 2. Y seria este. Ok dónde está el código de los errores y todo esto. Esta lista ya no sirve porque como. Como solista tiene el mensaje así que aquí ya puedo usar un bloque como éste. Donde el. Nos manipule. Ese error me trajo aquí a qué le temes que nos diga. Cuál es el mensaje. Este lo que sirve para encontrar. Palabras clave que lo de alguna manera dentro de las listas que hay en la respuesta. Ya la palabra clave del mensaje que me busque esta palabra y me devuelva el valor. Nestor bono la pareja que. Puedes si lo hacemos veamos qué tenemos ya el resultado. La idea es que no hagamos esto muchas veces así que no pueden incluir dentro del procedimiento por ejemplo tenemos aquí. Ii ya en vez de usar la respuesta pues convertimos propiamente el phi beta. Volver de alguna manera lo dejamos así. Esto es lo que he hecho. Y luego podemos hacer una comparación por ejemplo si el imei ya existe es el caso. Decimos que. Sí y el de la respuesta. La cara king. Juan. 40 y. Cuando mayúsculas todo igual y me. El 6. Puedes nos arroje. Otra modificación. Error. Y acá podemos colocarle un mensaje más sencillo. Ven ven. Puedes parar ya x. Esta manera de personalizar y firmó. Vamos a tener ya una notificación mucho más presentable. Esa la manera de hacerlo es muy sencillo es lo mismo para eddie. Registra o iniciar sesión con un con un imbécil el manejo de los datos de lo mismo así que espero pues que les haya gustado ya vieron qué estrenando intro gracias a mario hugo en el canal de you tube donde él está publicando sus intrapsique si quieren una intro para su canal pueden visitarlo en la descripción del video les dejo el enlace. Me pareció muy muy bonita gracias mario y un saludo para todos y está próximo video.