because the content of this article is more, finishing takes a long time, it is divided into several completed, the following is the structure of this directory, easy to access:
Unity3d access GooglePlay inside purchase detailed instructions (i)
Introduction
first, the preparation conditions:
Second, Google developer background app creation instructions:
Unity3d access GooglePlay inside purchase detailed instructions (ii)
third, Unity3d to Android Communication and accept communications
Iv. Unity Export Android APK official signature Description
v. Running unity-exported projects using Eclipse
VI, Java code access in Google buy:
Vii. purchase Java code in Google
Unity3d access GooglePlay inside purchase detailed instructions (iii)
apk upload Google Store beta and add testers
ix. zipalign processing apk file
10. Add a Google + group and invite it to be a tester
11, test machine GooglePlay installation and configuration:
Unity3d access GooglePlay inside purchase detailed instructions (iv)
12. Common Errors and solutions in real-machine testing:
13. Successful test purchase and official release
——————————————————————————————————————————————————————————
12. Common Errors and solutions in real-machine testing:
1, if the popup connection timeout, check whether the VPN is normal, the phone test environment is normal:
2, if the pop-up identity is not verified, you need to add your account to Google background for the test account, the above is described in detail.
3, if this version of the release does not pass the settlement verification, you use this version is mostly local beta, must be formally signed, upload apk, wait until the Google store push to you (see above). The download will be able to test. Whether the alpha version, or the Betea version, is to wait for the Google store to push to you, the length of time varies, usually for a few hours, my about 3, 4 hours or so.
4, if you install the official version from the Google Store, the following interface will appear when the operation, click Continue to add the bank card and other information.
5, must be with the following signs of the credit card can be tested, domestic UnionPay tested invalid, speculation mainly related to the mainland address.
6, the Exchange code because do not understand the mechanism, the random fill can not be tested
7, then cornered I registered PayPal, found that it can bind domestic credit card, at least China Merchants Bank, ICBC can.
Then ... But the domestic environment cannot be activated, so it is not successful.
8. If the test group is not successfully added to your account, the following interface will appear.
9, Beta pay will pop up the following interface, according to official documents, this is a temporary deduction, will eventually be returned to the tester, because it is not my personal experience of the test, which I do not know.
10, if you publish the app as a full version, the purchase is also the official version
13. Successful test purchase and official release
1, add test account, in the domestic testing is really a difficult to pay.
The reason is that in this step need to fill out credit card information, here we have done many tests, the mainland's hair, although the card with the above logo, when filling in the previous part of the information is possible. But when the actual address is chosen to be rejected, and did not know the specific reasons, I guess it may be because the real name of the card must be the address, and choose address there is no mainland China option. Hong Kong, Taiwan's address is, but the election is useless, because with your card address does not correspond.
Finally, thanks to colleagues to find a friend in Taiwan to help test a bit, and then OK. Have to say, this is really a big hole ah.
2, test the actual payment of the successful screenshot:
3, in the developer backstage in the Google Wallet can also see the detailed introduction of the order.
https://wallet.google.com/merchant/pages/u/0/bcid-hGKztJklSwyDL8eACsBL4w/oid-WDD6nV4ORYC9aQ6ScdpNaQ/ cid-09390602503505599956/purchaseorderdetails/12999763169054705758.1375233850436656
4, Next, is to put inside the purchase access to your formal projects, with the introduction of the previous article, the truth is similar.
5, the final upload of the official game apk, you can choose to upload the beta version, and then change it to the official version, the final release.
At this point, Google's research in the purchase is basically a successful end, write the poor place also hope that you more guidance. Thank you.
Finally, I wish you all the projects smooth, not like me to trample the pit.