Set up a marketplace tips / donations system - stripe-payments

I have a site with a lot of suppliers and end users. I would like the end users to be able to give tips to suppliers while taking a commission in between.
What's the easiest way to set this up? My plan initially was to code a custom stripe integration into my node.js backend. But there might be an easier way? Maybe someone has written a lot of what's needed already.
Thanks.

Stripe Connect is Stripe's API that lets you process payments on behalf of third-parties, and optionally take a cut out of the transaction.
There's a lot of things to consider depending on your exact use case so I recommend you take some time to browse the documentation. This article is also a good resource.

Related

How do you automatically create Web Stories from text and images in a database?

I want to bulk create thousands of web stories (of the AMP/Google variety) using a standardized AMP web stories template populated with text and images from my database.
Anyone have any ideas? I am not a coder, but may be able to follow if you assume I know nothing :) Thanks for your consideration and time.
I have looked in GitHub and at several online services that provide tools to make web stories, but none offer it. VisualStories claims to offer an API that does this, but when I asked for paid access said they were not sharing this with customers anymore because they found that creating stories individually produced better results.
Thanks!
Michael

is it possible to do stripe card payment totally from the backend using nodejs?

Is it possible to directly pass card details in the backend and pay using stripe?
Can anyone help me with this?
Any reference doc to build stripe payment from the backend will be much appreciated.
I'm sure it is, but handling card details on the back end means your servers sharing responsibility for handling users' card numbers. It means you are that much more exposed to be hacked. It means that you will therefore need extra vigilance and insurance if you want to be ethical, and might need to be able to prove it both to keep your financial institution happy AND in case of any legal matters.
Not a technical answer, I know, but be sure you realize that part is this isn't a technical question.

Can I list my past transactions with the paypal api in node js

Because I don't really have access to my online bank account for a while. I wanted to see how much money I have made and how much I gave out and want to create an app to keep track of that.
My problem is my income goes direct into my bank account and my payments are trough PayPal. So my question is how can I get my past PayPal transactions?
I don't really find anything about that and the PayPal Documentation just confuses me
Thanks for the Help
The Transaction Search API is quite limited in its capabilities and use cases.
Instead, log in to https://www.paypal.com/signin and click on the Reports tab. Use the Activity Download, and choose csv format if desired

Is there a way to process web payments with square without manually entering the payment information?

I'm working on building a website for a friend, and they would love to use Square for their payment processing. I'm just wondering if there is a way for me to automatically process a payment with square from the website I am building? I looked around a little, but didn't find any information about an API that I can send CC information to Square automatically and have the clients charged.
I know paypal is another very popular option, but I'm just curious if this can be done with Square?
Thanks for any help guys!
I used square for several years and they did not seem eager to offer an api. They do seem to have one now, but I don't know much about it. Check out connect.squareup.com -- they don't actually let you process charges, though. It meant more as a reporting and inventory tool.
The real benefit of Square is the ability to swipe wherever you are. If you want to be able to upload transactions in bulk, you might look at authorize.net -- I know they, among others, have that capability.

Does the Nest API provide a way to get historical energy usage?

Ever since I got my Nest all I've wanted is to be able to aggregate my energy usage over a long period of time to look for patterns and mainly appease my curiosity. Sure there are the monthly usage reports, and the web and device only goes back 10 days.
Does the API expose that data, or would I need to somehow calculate it myself? I'm not seeing on the API reference anything like 'is_running'. Or is there a chance a future "Nest Data API" is going to come out?
The Nest API only provides realtime data, not historical. Nest has an online community where they accept product suggestions for future enhancements.
Their API does not give you a way to access the data.
https://developer.nest.com/documentation/api#thermostats
If you've noticed they only store 10 days of data on the thermostat anyway (supposedly). The user agreement for the API also seems to forbid developers from providing software that will aggregate the data over time. I guess for your personal use it might be OK, but you wouldn't be able to distribute it.

Resources