Completed

Implementação de Método de Pagamento de Assinatura no meu App Android

Published on the March 28, 2018 in IT & Programming

About this project

Open

Tenho um app já publicado e quero implementar um sistema de pagamento de assinatura do próprio Google no meu app, porém estou com dificuldade de como implementar.

Modelo de Implementação de Código.



Bundle bundle = mService.getBuyIntent(3, "com.example.myapp",
  MY_SKU, "subs", developerPayload);

PendingIntent pendingIntent = bundle.getParcelable(RESPONSE_BUY_INTENT);
if (bundle.getInt(RESPONSE_CODE) == BILLING_RESPONSE_RESULT_OK) {
  // Start purchase flow (this brings up the Google Play UI).
  // Result will be delivered through onActivityResult().
  StartIntentSenderForResult(pendingIntent, RC_BUY, new Intent(),
      Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0));
}

Category IT & Programming
Subcategory Apps programming. Android, iOS and others
What is the scope of the project? Medium-sized change
Is this a project or a position? Project
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)
Required platforms Android

Delivery term: April 02, 2018

Skills needed

Other projects posted by D. A.