Skip to main content

Transfer google play balance to Paytm, PhonePe, Google Pay or any UPI linked bank account.

To transfer google play balance, opinion rewards or gift cards to PayPal, Paytm, PhonePe, Google Pay or any UPI ID linked bank account , you can use QxCredit :Rewards Convertor app which is available on google play store: You will get back 80% of the google play balance. App link:  https://play.google.com/store/apps/details?id=qxcoding.qx_credit_reboot Follow these steps to transfer your play balance to paypal or UPI: 1) download app from play store. 2) login with your google account and phone number. 3) choose a token amount which you want to convert/transfer. 4) Enter your payout details.(UPI ID or PayPal Email) 5) wait for an acknowledgement mail form qxcredit containing information about your purchased token. 6) you will receive the amount within 3 days. 7) if you face any issues you can raise a query on website: https://qx-credit.web.app/#/contact_support About app: Introducing QxCredit : Rewards Converter Convert /Transfer or Exchange your Google Play Balance and opini...

Using google play voided purchase API in flutter


Google's voided purchase API can be used to find the purchases which are either refunded , cancelled, charged back  by the user and use the same to take action against the purchased item(in-app purchases) in your app.

you can get more information about the API here:

https://developers.google.com/android-publisher/voided-purchases


before using the API you need to set up API access clients:

1) create or use an existing API project in google play console:

=>play console=>menu=>settings=>developer account=>API access

https://play.google.com/console/api-access


2) create a service account and grant it necessary permissions ("view financial reports" permission)


3) create credentials for using the API:

=>google cloud console =><your project>=>API & services=>credentials=>create credentials=>service account

=>ensue to copy the service account credentials in the form:

{
  "private_key_id": ...,
  "private_key": ...,
  "client_email": ...,
  "client_id": ...,
  "type": "service_account"
}



Now, you are all set up to move on to the flutter integration part:

1) we will be using google client libraries for flutter:

https://pub.dev/packages/googleapis


2) defining scopes:

const _scopes = [AndroidPublisherApi.androidpublisherScope];

this scope will allow the service account to access the play console account,you can define more scopes as per your needs...


3) adding service account credentials:

final _credentials = ServiceAccountCredentials.fromJson(r'''
{
"private_key_id": "---",
"private_key": "---",
"client_email": "---",
"client_id": "---",
"type": "service_account"
}
''');

add you private key id,private key,client email and client id from the downloaded file(at the time of creating service account).


4) fetching voided purchases from API:

Future<void> fetchVoidedPurchases() async {

final httpClient = await clientViaServiceAccount(_credentials, _scopes);
try {
final api = AndroidPublisherApi(httpClient);

final voidedPurchases =
await api.purchases.voidedpurchases.list('<your app package name>');
final items = voidedPurchases.voidedPurchases;
print('Received ${items.length} voided purchases:(for last 30 days):');
for (var order in items) {
print(order.orderId);
}

} finally {
httpClient.close();
}


});



that's it, now you can revoke the in-app item from the users who have voided purchases and provide fair experience to all users...


Comments

Popular posts from this blog

Transfer google play balance to Paytm, PhonePe, Google Pay or any UPI linked bank account.

To transfer google play balance, opinion rewards or gift cards to PayPal, Paytm, PhonePe, Google Pay or any UPI ID linked bank account , you can use QxCredit :Rewards Convertor app which is available on google play store: You will get back 80% of the google play balance. App link:  https://play.google.com/store/apps/details?id=qxcoding.qx_credit_reboot Follow these steps to transfer your play balance to paypal or UPI: 1) download app from play store. 2) login with your google account and phone number. 3) choose a token amount which you want to convert/transfer. 4) Enter your payout details.(UPI ID or PayPal Email) 5) wait for an acknowledgement mail form qxcredit containing information about your purchased token. 6) you will receive the amount within 3 days. 7) if you face any issues you can raise a query on website: https://qx-credit.web.app/#/contact_support About app: Introducing QxCredit : Rewards Converter Convert /Transfer or Exchange your Google Play Balance and opini...

What is AI (Artificial Intelligence )? and its characteristics

Definition : Artificial intelligence  (AI) is the ability of a  computer program  or a  machine  to think and learn. It is also a field of study which tries to make computers "smart". They work on their own without being encoded with commands. Types of AI : REACTIVE MACHINES:  The most basic type of AI is purely reactive ,it does not store any memory of past or predict ( calculate ) future happenings. This type of AI is only applicable to specific applications and the principle is choosing the best decision among several options. examples: Deep Blue, IBM’s chess-playing supercomputer LIMITED MEMORY :  this type 2 kind of AI machines are distinct from reactive machine in such a way that it can make optimum decisions based on the past information ( data ). examples: self driving cars. THEORY OF MIND:  The understanding that people,creatures and objects can have thoughts or emotions which effect their own behavior. ...

How to convert google play balance to paypal or UPI [2024]

If your google account contains play balance which you might have earned from google competitions, opinion rewards or gift vouchers, you can transfer the amount to paypal account or any UPI linked bank account.  For transferring the play balance you need to follow 3 simple steps :  1) Download QxCredit app from google play store:                                 2) Purchase a token of your choice by entering the payout details :            3) View your purchase in my tokens section and wait for 72 hours for the transaction to be verified and processed. The below video demonstrates the process of purchasing a token of your choice to convert play balance: After purchasing token you will also receive a confirmation mail from QxCredit regarding the purchased token information. You can also view your purchased token on QxCredit website:...