Failed to validate receiptError: failed to validate purchase using Node.js
问题 I am trying to set up a node.js server to validate receipts from AppStore connect In App Purchases I have set up. I have followed this https://github.com/voltrue2/in-app-purchase library but I'm getting an error response saying my receipt is not defined and failed to validate receipt . I'm I doing anything wrong here. I'm still testing on a local server. I want to get it to work before hosting it on Heroku . What would I be doing wrong here? const iap = require('in-app-purchase'); iap.config(