Wappler Version : 6.8
Operating System : Mac
Server Model: NodeJS (stable latest)
Database Type: MySQL
Hosting Type: AWS
When I use the Create Customer Session I get the following error:
{"status":"500","message":"Cannot read properties of undefined (reading 'create')","stack":"TypeError: Cannot read properties of undefined (reading 'create')
at exports.createCustomerSession (xxx/lib/modules/stripe.js:1343:34)
at App._exec (xxx/lib/core/app.js:708:49)
at App._exec (xxx/lib/core/app.js:675:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async App.exec (xxx/lib/core/app.js:644:5)
at async App.define (xxx/lib/core/app.js:626:5)"}
To rule out Stripe connection and incorrect customer id I also ran the List Customers step first. That returned data correctly and I set the customer property of the Customer Session Create to the id of the first customer returned:
listCustomers.data[0].id
Whatever I do I get the above error which makes me wonder if something is missing in the existing Stripe NodeJS implementation