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.
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!
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. :)