async def METHOD_NAME(self, u, data: dict):
    await self.bot.sio.emit("new_premium__{0}".format(u), {})
    if not data.get("is_verified"):
        return await self.__transaction_failed(int(u))
    user_id = int(u)
    invoice = data["invoice_link"]
    prime = "https://discord.com/oauth2/authorize?client_id=902856923311919104&scope=applications.commands%20bot&permissions=536737213566"
    member = await self.bot.get_or_fetch_member(self.bot.server, user_id)
    if member is not None:
        await member.add_roles(discord.Object(id=self.bot.config.PREMIUM_ROLE), reason="They purchased premium.")
    else:
        member = await self.bot.getch(self.bot.get_user, self.bot.fetch_user, user_id)
    _e = discord.Embed(color=self.bot.color)
    _e.description = (
        f"{random_greeting()} {member.mention},\n"
        "Thanks for purchasing Quotient Premium.\n\n"
        f"[Invite Quotient Pro]({prime}) | [Support Server]({self.bot.config.SERVER_LINK}) | [Download Invoice]({invoice})"
    )
    _e.set_image(url=random_thanks())
    try:
        await member.send(embed=_e)
    except discord.HTTPException:
        pass
    finally:
        _e = discord.Embed(
            color=discord.Color.gold(), description=f"Thanks **{member}** for purchasing Quotient Premium."
        )
        _e.set_image(url=random_thanks())
        await self.hook.send(embed=_e, username="premium-logs", avatar_url=self.bot.config.PREMIUM_AVATAR)
        # if data["details"]["amount"] != "29.00":
        #     await self.give_rilp_premium(member)