Skip to content

Commit

Permalink
Merge pull request #7 from AlmirKadric/feature/quickFix
Browse files Browse the repository at this point in the history
quick fix to remove assertions from the library. These should be handled application side.
  • Loading branch information
Ron Korving committed Jan 29, 2015
2 parents aa68511 + c84bdf2 commit 2468d12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea
node_modules
2 changes: 0 additions & 2 deletions lib/google/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ exports.verifyPayment = function (payment, cb) {
var responseObject;
try {
responseObject = JSON.parse(responseString);
assert.equal(responseObject.purchaseState, 0, 'purchaseCancelled');
assert.equal(responseObject.consumptionState, 1, 'notConsumed');
} catch (e) {
return cb(e);
}
Expand Down

0 comments on commit 2468d12

Please sign in to comment.