googleapis / googleapis/google-api-nodejs-client
No inapp products consume api present in the library
- Ngôn ngữ chính
- TypeScript
- Star
- 12.2k
- Fork
- 2k
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 24
Mô tả
Thanks for stopping by to ask us a question! Please make sure to include:
- I needs to acknowledge the in app purchase from server side, as per the android publisher v3.ts code i can see there is a
- androidpublisher.purchases.products.consume api but when i am hitting from the api
- i am getting following error
- This is my code
-const res = await androidpublisher.purchases.products.consume({
packageName: "XXXX.XXX.XXX",
productId: obj.sku,
token: obj.purchaseToken,
requestBody: {
},
});
-2023-05-01T07:01:43: TypeError: **androidpublisher.purchases.products.consume is not a function
2023-05-01T07:01:43: at Object.exports.ackowledgeConsume (/home/ubuntu/****/website/google/purchase.js:60:59)
2023-05-01T07:01:43: at processTicksAndRejections (internal/process/task_queues.js:95:5)
2023-05-01T07:01:43: at async /home/ubuntu/kanganweb/website/routes/web-routes.js:376:34**
I can see similar api in Java and Python library
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách lần theo cách sử dụng client Android Publisher v3 được thể hiện trong website/google/purchase.js và lời gọi từ routes/web-routes.js, sau đó so sánh các phương thức products hiện có với lời gọi consume được báo cáo. Công việc được xem là hoàn tất khi client Node.js cung cấp thao tác products consume được yêu cầu hoặc ghi rõ việc thao tác này không tồn tại và giải pháp thay thế được hỗ trợ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- node.js, typescript
- Lĩnh vực
- api, backend
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100