We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I am not 100% sure but I think the finish method for the verified receipt is not implemented. The awaiter seems to receive an empty function.
/** Receipt data as validated by the receipt validation server */ class VerifiedReceipt { /** * @internal */ constructor(receipt, response, decorator) { var _a; /** @internal */ this.className = 'VerifiedReceipt'; this.id = response.id; this.sourceReceipt = receipt; this.collection = (_a = response.collection) !== null && _a !== void 0 ? _a : []; this.latestReceipt = response.latest_receipt; this.nativeTransactions = [response.transaction]; this.warning = response.warning; Object.defineProperty(this, 'raw', { 'enumerable': false, get() { return response; } }); Object.defineProperty(this, 'finish', { 'enumerable': false, get() { return () => decorator.finish(this); } }); } /** Platform this receipt originated from */ get platform() { return this.sourceReceipt.platform; } /** Get raw response data from the receipt validation request */ get raw() { return {}; } // actual implementation as "defineProperty" in constructor. /** * Update the receipt content * * @internal */ set(receipt, response) { var _a; this.id = response.id; this.sourceReceipt = receipt; this.collection = (_a = response.collection) !== null && _a !== void 0 ? _a : []; this.latestReceipt = response.latest_receipt; this.nativeTransactions = [response.transaction]; this.warning = response.warning; } /** Finish all transactions in the receipt */ finish() { return __awaiter(this, void 0, void 0, function* () { }); } } CdvPurchase.VerifiedReceipt = VerifiedReceipt;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I am not 100% sure but I think the finish method for the verified receipt is not implemented.
The awaiter seems to receive an empty function.
The text was updated successfully, but these errors were encountered: