Wappler Version : 5.5.3
Operating System : mac
Server Model: node
Database Type:
Hosting Type:
Expected behavior
I should be able to use the Create Invoiceitem action of Stripe
Actual behavior
Error is returned
message: "Cannot read properties of undefined (reading 'create')"
stack: "TypeError: Cannot read properties of undefined (reading 'create')\n at App.exports.createInvoiceitem (/opt/node_app/lib/modules/stripe.js:1887:30)\n at App._exec (/opt/node_app/lib/core/app.js:599:57)\n at App.exec (/opt/node_app/lib/core/app.js:535:20)\n at App.repeat (/opt/node_app/lib/modules/core.js:80:28)\n at App._exec (/opt/node_app/lib/core/app.js:599:57)\n at App._exec (/opt/node_app/lib/core/app.js:566:28)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async App.exec (/opt/node_app/lib/core/app.js:535:9)\n at async App.condition (/opt/node_app/lib/modules/core.js:109:17)\n at async App._exec (/opt/node_app/lib/core/app.js:599:30)"
status: "500"
The fix is to replace all occurrences of invoiceitems
with invoiceItems
in stripe.js module.