Analisando propostas

Anti Luckypatcher

Publicado em 02 de Junho de 2023 dias na TI e Programação

Sobre este projeto

Aberto

Hello good day, I have a classic payment app and it works perfectly, but when a user uses lucky patcher they can buy items without having to pay, is there a way to avoid this from lucky patcher? I attach my kotlin code so that you have an idea of what any other questions are about internally

`private val purchaseUpdateListener = PurchasesUpdatedListener { billingResult, purchases ->
          when {
              billingResult.responseCode == BillingClient.BillingResponseCode.OK && !purchases.isNullOrEmpty() -> {
                  for (purchase in purchases) {
                      if (purchase.purchaseToken.isNullOrEmpty()) {
                          // The payment was made in cash, it must be handled according to your requirements
                          // You can display a message to the user or perform some specific action
                          Query_Version25() // Call the QueryVersion25() function for cash payments
                      } else {
                              idp = purchase.orderId
                              Query_Version8()
                              Query_Version9()
                              isProductPurchased = true
                      }
                  }
              }
              billingResult.responseCode == BillingClient.BillingResponseCode.USER_CANCELED -> {
                  Toast.makeText(this, R.string.ms27, Toast.LENGTH_SHORT).show()
              }
              else -> {
                  Toast.makeText(this, R.string.ms28, Toast.LENGTH_SHORT).show()
              }
          }

          if (isProductPurchased) {
              // Reset the variable to allow the user to buy the same product again
              isProductPurchased = false
          }
      }`

Contexto Geral do Projeto

I want my application to have a payment security system, which when making purchases checks if the purchase is valid or not

Categoria TI e Programação
Subcategoria Programação de Apps para Android, iOS e outros
Qual é o alcance do projeto? Bug ou alteração pequena
Isso é um projeto ou uma posição de trabalho? Um projeto
Tenho, atualmente Eu tenho especificações
Disponibilidade requerida Conforme necessário
Plataformas exigidas Android
Eu preciso Eu preciso modificar um app existente
Tipo de aplicativo Loja online
Precisa de back-end Sim
Gateway de pagamento Sim

Prazo de Entrega: Não estabelecido

Habilidades necessárias

Outro projetos publicados por B. A.