on-internet
← Community

Hoodie - Update a CouchDB document (Node.js)

Stack Overflow ·

I'm handling charges and customers' subscriptions with Stripe, and I want to use these handlings as a Hoodie plugin. Payments and customer's registrations and subscriptions appear normally in Stripe Dashboard, but what I want to do is update my _users database in CouchDB, to make sure customer's information are saved somewhere. What I want to do is updating the stripeCustomerId field in org.couchdb.user:user/bill document, from my _users database which creates when logging with Hoodie. And if it is possible, to create this field if it does not exist. In hoodie-plugin's document, the update fun

Comments

Sign in or sign up to comment and upvote.

No comments yet.