It’s actually a thing of Unity IAP, that was removed in the 2.2.0 version:
Unity IAP package 4.12.2 is now available page-2#post-6506532
There is no alternative to it because it is not needed anymore. The public key is not necessary to the billing API, since it is detected and integrated by the app signing process in Google Play.