Skip to content
This repository was archived by the owner on Oct 20, 2020. It is now read-only.

Commit 64515bf

Browse files
committed
Update README.md
1 parent 4a2a7d4 commit 64515bf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ If you want to test with static responses, you can use reserved productids defin
103103
* android.test.refunded
104104
* android.test.item_unavailable
105105

106+
You will only be able to test the `purchase` function with static responses.
107+
106108
If you want to test with these productids, you will have to use a `null` license key. This is because your actual license key will not validate when using these productids.
107109

108110
In order to do this send in `null` as parameter, along with your Activity-instance, when registering the package:
@@ -111,7 +113,7 @@ In order to do this send in `null` as parameter, along with your Activity-instan
111113
[See the Google Play docs for more info on static responses](http://developer.android.com/google/play/billing/billing_testing.html#billing-testing-static).
112114

113115
## Testing with your own In-app products
114-
Testing with static responses is limited, because you are only able to test the purchase-method. Therefore, testing with real In-app products is recommended. But before that is possible, you need to do the following:
116+
Testing with static responses is limited, because you are only able to test the `purchase` function. Therefore, testing with real In-app products is recommended. But before that is possible, you need to do the following:
115117
* I will assume you've already created your Google Play Developer account and an application there.
116118
* Now you need to create an In-app product under your application at the Google Play Developer Console and activate it (press the button at the top right).
117119
* Assuming you have installed this module (InApp Billing), you can write the JS code as explained in the Javascript API section. I suggest you to use `getProductDetails` function to see if it's the product is retrieved.

0 commit comments

Comments
 (0)