Bux fixes in PurchaseApi.