store-receipt-validator | PHP receipt validator for Apple iTunes | Validation library
kandi X-RAY | store-receipt-validator Summary
kandi X-RAY | store-receipt-validator Summary
PHP receipt validator for Apple iTunes, Google Play and Amazon App Store
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Acknowledges a purchase .
- Parse the raw data
- Parse iOS7 receipt data .
- Validate the receipt XML .
- Send the receipt using the given client .
- Get the status of the customer
- Parse json response .
- Parse iOS6 receipt data
- Check if the billing period is in grace period .
- Set a key
store-receipt-validator Key Features
store-receipt-validator Examples and Code Snippets
Community Discussions
Trending Discussions on store-receipt-validator
QUESTION
I have an Electron app with In-App Purchases integrated.
The In-App Purchases themselves are working - I can pull down the price and display it - and the user can buy the IAP. However, I'm having trouble validating the Apple receipt.
I'm using this apple-store-receipt-validator-in-php PHP script to validate the Apple receipt. And this works fine if I use the default encoded receipt data ("ewoJInNpZ25hdHVyZSIgPSAiQX..." - line 18 on the PHP script) where I get this response:
...ANSWER
Answered 2019-Feb-28 at 16:25The server-side works and receiptRaw.toString('base64')
is correct.
If I send the following to https://sandbox.itunes.apple.com/verifyReceipt/ I get "status": 0
(so it works).
QUESTION
I am trying to verify google in app subscription on my server end.
It seems to me that I need to create a service account for that.
I already had a "OldProject" Linked to my google play account, so Now, i created a service account under the project "OldProject" with "owner role" on the entire project.
But for some reason, when I use this service account and attempt to verify a purchaseToken, i get the error "The current user has insufficient permissions to perform the requested operation".
I'm using the PHP validator from here https://github.com/aporat/store-receipt-validator
but i keep getting this error
...ANSWER
Answered 2019-Apr-13 at 12:20So had to wait over 24 hours (37 in my case) and it started working ... thanks google for wasting my time and not writing that we have to wait for this to update
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install store-receipt-validator
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page