question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

what's the "receipt" means ? where can i get the order information ?

See original GitHub issue

Version of react-native-iap

: “^0.2.14”

following the steps, i can get the receipt , it’s means “Purchase Successful!” ?

and how can i use the “receipt.data” ? send it to the apple iap server to check the order ?

thank you very much !

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
rikurcommented, Mar 2, 2018

It would be great if we could decode the receipt locally (to get the contents like expiry date). I couldn’t find a JS code/lib to do it, only some in Ruby and Java, like this one: https://gist.github.com/lxcid/4441003

The receipt is Base64 encoded… but the payload is not plain JSON and I couldn’t find a way to parse it.

0reactions
12343954commented, May 3, 2018

Thank you, @dooboolab @rikur , I will think about it !

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is an Order Receipt? (with picture) - Smart Capital Mind
An order receipt is a document that provides information about the details of an order and confirms it has been received by the...
Read more >
Receipt: Definition, Types, and IRS Rules - Investopedia
A receipt is a written acknowledgment that something of value has been transferred from one party to another.
Read more >
Conversion Tactic # 5: Order Confirmations and e-Receipts
Order confirmations are used as a tool to validate items purchased to avoid confusion and make sure that the original order correlates with...
Read more >
“Please Confirm Receipt”: What Does it Mean and How to Use ...
“Please confirm due upon receipt” implies that the client must try to compensate as soon as the work meets completion. This is when...
Read more >
Receipt of Order Definition | Law Insider
Define Receipt of Order. means, if personally delivered, at the time of delivery; if sent by facsimile, at the time of transmission; if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found