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

create and expose receiptData method #5

Merged
merged 1 commit into from
Aug 29, 2015

Conversation

marcgreenstock
Copy link
Contributor

iTunes purchases are attached to the iTunes account and does not require a product identifier to retrieve.

@marcgreenstock
Copy link
Contributor Author

Hi @chirag04, just a friendly nudge, any chance on merging this one in?

if (!receiptData) {
callback(@[@"not_available"]);
} else {
callback(@[[NSNull null], [receiptData base64EncodedStringWithOptions:0]]);
Copy link
Owner

Choose a reason for hiding this comment

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

Do we need base64EncodedStringWithOptions here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is what is expected, yes. The docs explain that you need to send the base 64 encoded receipt to the server.

Copy link
Owner

Choose a reason for hiding this comment

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

Ok. merged. Thanks 👍

@chirag04
Copy link
Owner

LGTM. Will merge once we know if we need base64EncodedStringWithOptions.

chirag04 added a commit that referenced this pull request Aug 29, 2015
create and expose receiptData method
@chirag04 chirag04 merged commit 3eb0bee into chirag04:master Aug 29, 2015
matthew-j-riley referenced this pull request in bodybuildingcom/react-native-in-app-utils Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants