mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Revert "Fix Gem purchase validation" (#8471)
This commit is contained in:
@@ -66,7 +66,7 @@
|
|||||||
"habitica-markdown": "^1.3.0",
|
"habitica-markdown": "^1.3.0",
|
||||||
"html-webpack-plugin": "^2.8.1",
|
"html-webpack-plugin": "^2.8.1",
|
||||||
"image-size": "~0.3.2",
|
"image-size": "~0.3.2",
|
||||||
"in-app-purchase": "github:bkalaldeh/in-app-purchase#3e61c1fa1453692e757f3f455bb50acad2a4b1e9",
|
"in-app-purchase": "^1.1.6",
|
||||||
"jade": "~1.11.0",
|
"jade": "~1.11.0",
|
||||||
"jquery": "https://registry.npmjs.org/jquery/-/jquery-3.1.1.tgz",
|
"jquery": "https://registry.npmjs.org/jquery/-/jquery-3.1.1.tgz",
|
||||||
"js2xmlparser": "~1.0.0",
|
"js2xmlparser": "~1.0.0",
|
||||||
|
|||||||
@@ -7,8 +7,6 @@ import Bluebird from 'bluebird';
|
|||||||
// const CONNECTION_FAILED = 6778002;
|
// const CONNECTION_FAILED = 6778002;
|
||||||
// const PURCHASE_EXPIRED = 6778003;
|
// 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({
|
iap.config({
|
||||||
// This is the path to the directory containing iap-sanbox/iap-live files
|
// This is the path to the directory containing iap-sanbox/iap-live files
|
||||||
googlePublicKeyPath: nconf.get('IAP_GOOGLE_KEYDIR'),
|
googlePublicKeyPath: nconf.get('IAP_GOOGLE_KEYDIR'),
|
||||||
|
|||||||
Reference in New Issue
Block a user