Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove getOrderId from PurchaseHistory #554

Closed
wants to merge 6 commits into from
Closed

Conversation

rborn
Copy link
Contributor

@rborn rborn commented Jun 22, 2019

PurchaseHistoryRecord doesn't have orderId

rborn added 6 commits June 18, 2019 20:19
Use `size()` instead of `length` for `purchases` List
Use `getOrderId` instead of `getPurchaseToken` to be identical to `onPurchasesUpdated`
PurchaseHistoryRecord doesn't have getOrderId
// item.putString("transactionId", purchase.getOrderId());
// PurchaseHistoryRecord doesn't have orderId,
// and it seems that getOriginalJson in this case also doesn't return the orderId
// is there any way to obtain this?
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not in android's billing client version 2. Why not using getPurchases instead to acquire this?

@hyochan hyochan added 🤖 android Related to android 🛠 bugfix All kinds of bug fixes labels Jun 22, 2019
@rborn
Copy link
Contributor Author

rborn commented Jun 22, 2019 via email

@hyochan
Copy link
Owner

hyochan commented Jun 22, 2019

@rborn Yes removing should be accepted. Can I merge this now?

@rborn
Copy link
Contributor Author

rborn commented Jun 22, 2019 via email

@hyochan
Copy link
Owner

hyochan commented Jun 22, 2019

@rborn This repo doesn't seem to be recent, therefore I'll try rebasing it now.

@hyochan
Copy link
Owner

hyochan commented Jun 22, 2019

Closed for #556. @rborn I've added you as a co-committer.

@hyochan hyochan closed this Jun 22, 2019
@rborn
Copy link
Contributor Author

rborn commented Jun 22, 2019

@hyochan thank you ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android Related to android 🛠 bugfix All kinds of bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants