Can test purchases be cancelled in google wallet - android

Previously, using Google Checkout, I was able to make and cancel test in-app purchases made from my Android app using in-app purchasing. Since Google checkout was closed and migrated to Google Wallet, I cannot cancel test purchases. If I view a recent test purchase, the refund button is greyed out.
Does anybody know if and how such purchases may be cancelled in Google Wallet?
This refers to in-app purchases made using a Google play account registered as a test account in my Developer Console settings.

Yes, they can.
Go to your orders page, select one of them and in the upper right corner there's a "Refund" button.
Edit: Don't know why it's greyed in your case, I could with no problem.
Give it a couple hours.
Hope it helps ;)

Related

Refund test order on Google Play

How to refund in app purchase payed with test card?
I use "consume"-button in my debug version, but I wouldn't use it in release version (I don't want to show this button to end-users).
I see charded Test order in Google Play Console > Order management, but Button "Refund" is disabled: "The selected orders can’t be refunded either due to their age, status or your lack of requisite permissions".
Is there non-programming solutions?
EDIT: my refund button is no longer greyed out. Give it a try!
There is no way to do this without extra work. Came across this reddit post - it looks like it used to be possible a couple of months ago.
Here's Google's quote from the link:
Thanks for contacting Google Play Developer Support!
Unfortunately we don't currently support a way to cancel/consume test purchases through the console, you can only do so programatically.

Testing IN-APP PURCHASE With Another account on same device

Good day.I have implemented the in-app purchase flow in my application,added everything necessary to the console but i am failing to test it.Issue is that the android i dont know why uses the non-testing account (developer account) as on the purchase dialog it says 'The publisher can not purcahse this item' but although i have added test account to the device,switched account in the google play but i keep getting this error.Can anyone please tell me what is wrong with it?
If you want to test in-app purchase, you need to account on https://play.google.com, publish your app in alpha version. In IN-APP PRODUCTS, you add products you want, add emails you want to test (only emails in the list can test). You follow this link:
https://developer.android.com/google/play/billing/billing_testing.html

Android In-App purchase refund

I'm using the In-App purchase in my Application.
I created a test account and my build was in Alpha which could be able to download for tester.
When i prompt to buy a product it ask for Payment option. As by the docs, It says they will not charge for testing.
I came through docs that there is an option for refund. So for refund is there anything to control in the Code or it all will be controlled through the developer console . I'm using in-app version 3.
Please help me out here.. thanks in advance.
Refunds are given to users through your google merchant account. Here is a link to where you would go to do it. The links in the developer console would just redirect you to your merchant account.

android in-app billing sandbox

I'm developing a simple in-app billing library. It works with static responses from google, but now I'd like to test this lib with real in-app products.
I have created a test account and I'm trying to buy a product, but google Play is asking me for a credit card. Is there any way to test in-app billing without using a real credit card (a sandbox environment, fake credit card, etc)?
I have read here that the only way to test this is using a real credit card with a test account (so you don't have to pay google taxes) and once you have bought the product, refund it again, but it seems not to be a very 'developer-friendly' way.
Thanks.
Nope it absolutely SUCKS
You have to use a real credit card, then go into Google Play , select View Merchant Account and hit the individual order then refund to get your money back.
sorry!
As of today (or yesterday) Google has finally allowed "sandbox" testing of in app purchases, it goes through all the steps of an in app purchase except the actual charging of the credit card.
Although you will probobly have to wait for the cancelations/refunds like you did before.
More info here and here
Got this info from my developers console.
... and to add to Blundell's answer, it will take close to 6 hrs for refund to be posted, and then you'll probably want to give it another 6 hours before attempting the purchase.... or else.... Or else, what? Oh, I don't know, something like the "you already own this item" bug/glitch/bane of my existence
You can test in-app purchase subscription using testing accounts. For reference please go through the link-
You may use sandbox testing by adding you testers account to play console.
Go to the play console main screen--> setting--> search for license testers--> add your testers email-id there.
Then go to your app release-> go for your beta/alpha release.
Tap on manage testers and share opt-in URL with testers to accept an invite.
https://cheesecakelabs.com/blog/google-play-iap-first-setup-test-sandbox/

Android in-app billing testing

I created product id list for my application in android developer account. Also i created test account to test my in-app purchase implementation. My concern is do i get charged on entering card details from test account for buying the product, to test in-app billing implementation. What is the best way to test in-app billing?
The best way to test an in- App is to
mBillingService.requestPurchase("android.test.purchased", "");
This way you neither have to upload your app nor you have to create in app products on marketplace.
Agree with the one mentioned by ingsaurabh, however in case you want to do a real testing of in-app billing I would recommend going through the entire grind.
Things to test:
a. Purchase
b. Cancel
c. Refund
d. Restore transactions
For all these you would need a real purchase, which would get charged to your account. However later on you can go ahead and cancel it from your developer console and it would get refunded.
The only way to do end to end testing is to do a real purchase. You have to set up a test account on the developer site first. You don;t have to worry about the charges. You can always refund it.

Categories

Resources