mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 04:38:55 +00:00
Revert "Fix Gem purchase validation" (#8471)
This commit is contained in:
parent
ca5161b48a
commit
43e381cfc1
2 changed files with 1 additions and 3 deletions
|
|
@ -66,7 +66,7 @@
|
|||
"habitica-markdown": "^1.3.0",
|
||||
"html-webpack-plugin": "^2.8.1",
|
||||
"image-size": "~0.3.2",
|
||||
"in-app-purchase": "github:bkalaldeh/in-app-purchase#3e61c1fa1453692e757f3f455bb50acad2a4b1e9",
|
||||
"in-app-purchase": "^1.1.6",
|
||||
"jade": "~1.11.0",
|
||||
"jquery": "https://registry.npmjs.org/jquery/-/jquery-3.1.1.tgz",
|
||||
"js2xmlparser": "~1.0.0",
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@ import Bluebird from 'bluebird';
|
|||
// const CONNECTION_FAILED = 6778002;
|
||||
// const PURCHASE_EXPIRED = 6778003;
|
||||
|
||||
// We are using this PR instead of the main release: https://github.com/voltrue2/in-app-purchase/pull/74
|
||||
// Reason: Without the PR, the library attempts to validate IAP products as subscriptions and fails.
|
||||
iap.config({
|
||||
// This is the path to the directory containing iap-sanbox/iap-live files
|
||||
googlePublicKeyPath: nconf.get('IAP_GOOGLE_KEYDIR'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue