I am about to implement inApp Purchases in my app, but Iam totally confused about which way to go. On Android developer site there are different aproaches, but it is not clear why there are 2?:

<http://developer.android.com/training/in-app-billing/index.html>

and

<https://developer.android.com/google/play/billing/api.html>