HashtagSell / posting-api

API for storage and retrieval of posting details for Hashtagsell
0 stars 0 forks source link

publish payload property for payment on separate branch #70

Closed that1guy closed 9 years ago

that1guy commented 9 years ago

In the 'share to' modal the user has the ability to push to fb, twitter, ebay, etc. In this same modal the seller has the ability to allow online payment for this post. I've created a new branch on posting api where I'm attempting to publish a payload to the posting that contains payment info for that post.

When the update() function is called in models/posting.js it appears to upsert the post with the payment info however it doesn't stick and I can never get that data back.

https://github.com/HashtagSell/posting-api/blob/publishPayment/lib/models/postings.js#L868-L871

Help if you got a quick second. :)

brozeph commented 9 years ago

made a small tweak to the lib/data/postings.js file to ensure payment is specified in the Mongoose schema... I'll assign back to @that1guy to verify it is working as expected!

that1guy commented 9 years ago

Golden.. Thanks Josh!