How do you implement a web-based direct deposit/eCheck payment system? - python

I'm trying to develop a site that will allow users to pay for services with eChecks that other users are offering.
The purchaser would pay money that would go into my account via direct deposit. The service provider could later withdraw money up to the amount they accumulated to their bank account.
Every time I ask payment gateway providers about this, they act like I'm speaking in a foreign language. Paypal told me that their API doesn't allow direct deposits or eChecks.
What sort of merchant account / gateway combination do I need to do this? Can you direct me to any specific companies? I use Python/Django to develop applications, do you know of any libraries that might assist me with this endeavor?

I'm certain that you would not be able to do facilitated ACH/EFT transfers directly from one user's account to another user's account. However, as long as there's a third party in between the two users, this should be possible. But I'm assuming you'd want to do that anyways, so that you can get paid. The trick is finding a provider that will do both withdrawals and deposits, since most providers only give you withdrawals. I'd recommend at least talking to BrainTree; they're by far my favorite payment provider. If they don't work out though, you might try Alliance, however, I've never used them, so take that recommendation with a grain of salt.

Related

Can you get general user account activity via the Instagram API?

I was wondering if it's possible to utilize the Instagram API with Python in order to gather info on follower account status to seek trends/activity/etc. for my platform. Basically I want to see what brands, etc. users engage with by using the API to see where the accounts who are part of my network go, what they click like on, where they leave a comment/what type of feedback they give/interact across brands. The accounts will consent to this of course, but is this even possible with the API anyways? I have seen services offer this for a fee, so I assumed it's possible somehow.
I assume that when a user leaves a comment it is stored in some database that you can then use the API to see if it matches with some ID or such -- if not then maybe there is a way to do this indirectly, i.e., some kind of background service that can see if a comment/ID matches a username without having to use the API itself. Basically I'm interested if this is feasible/simple -- I'm not too savvy!
This is meant for business and non-business/personal accounts -- also just for the fun of it too.
I have peeked at the API but it does not mention this, and no amount of searching narrows it down.
I know Facebook made some changes with their graph API which basically makes this a dead end on their platform without some possible hackaround if that is even theoretically possible.

How to use SquareSpace for login on Python Program

Is there any way to have a login on my python program that accesses my squarespace site? For example, I have a game that costs 4.99, and I want to make sure that no one can “copy-paste” my program, so I add a login. This login would connect to SquareSpace, and check if the account used to log in bought the game.
I'm going to assume that you have a Squarespace website through which you are selling the game. That being the case, customer information could be accessed from a different service/server via a couple methods:
Squarespace Commerce API: Use of the Squarespace Commerce API currently requires an "Advanced Online Store" plan from Squarespace, costing $40-$46/month at time of writing. If that is an option, you can obtain order information from your Squarespace site and use it to verify customer purchases.
Stripe API: Because customer payments through your Squarespace site will be processed via Stripe, it should be possible to use the Stripe API to access order/payment information as well. However, it may be more difficult depending on how Squarespace is submitting the information to Stripe.
It appears possible to filter customers by email address, though I've not explored this option myself. If this method works, it would avoid having to pay for a Commerce - Advanced plan through Squarespace, a significant cost for access to such a basic set of API features.

Django - How can I manage custom payments between users on my platform with Stripe?

I'm trying to create a platform with multiple functionalities, and one of them is a crowfunding of projects, in which the users can post a project and ask for funds. (like kickstarter or indiegogo).
I'm working with Django 2.0, Python 3.6 and PostgreSQL and I want to use Stripe for payments. I also read a bunch of the Stripe's API Documentation, and I have some ideas for doing this, but this will be my first API implementation so I would like to do it well (more even talking about payment systems).
The main question is: How can I do that multiple users realize payments to another for one project ONLY when the goals of that project are reached?
What I think that is the better is to use (Stripe Connect) Express/Custom Accounts to create an account for each user that posts a Project, so I can redirect all the payments to that account.
The thing is that I also want to apply a fee for my platform.
And I don't know exactly how can I do this. I imagine that Stripe give an option for that to evade doing two transactions in my own backend (one for the project's user and another for the platform (me).
Then I have another related problem that is when should I do the transactions?
I have to asure the 100% of the transactions, but also that the project get the funds only when it reach the goals, So I don't know if with Stripe I can freeze all the funds and then give it to the project or refund it depending on the state of the project goals.
As an alternative comes to my mind to put all the funds to an a sub-bank account of my own platform and then if the project reach the funds, do the transaction to the user's account; or if the project fails, make a full refund. The problem I see here is that if the project succeed, Stripe get's x2 times a transaction commission, and if the project fails, I (my platform) have to pay for my own the first transaction's Stripe commission. So this is not t.he correct answer at all.
Kickstarter (as a main example) only do the transaction when the
project reach the funding goals, but doing that, they can (and
usually) get some failed transactions. This is what I cannot accept in
my platform.
To sum up, I want be able to make that an user can pay to another only when the project goals are reached, get a commission for it and asure that the 100% of the transactions are accepted.
I would like to ask for help in the coding (or tips at least) because I also read the documentation of dj-stripe and pinax-stripe, but I don't see the way of doing what I need because their documentation is based on simple payments always to the same user and for subscriptions.
I think that maybe the best option is to use the python api given by Stripe.
I also searched a lot for this and found the following things: Crowdao, a project with stripe integrated for crowdfunding BUT is only for one project, so it doesn't solve the problem; A way of doing AHC with Django-allauth and Stripe, but I don't see exactly how they do that, and I want to use more payment systems too, so I imagine it doesn't fit as a good answer for my problem.
If you need any extra information please ask for it, I'll do whatever I can. Thank you very much.
You could use stripe connect and when creating the charge use authorize-only (Note: Max 7 days)
As #Oscar has suggested, connect[0] is the way to go.
So basically yourself will registered as a platform account and each projects will be registered as connected account, most likely custom/express type[1]. Your end user accounts who is contributing to each projects will live in your main platform account.
There are many ways to achieve your goal by charging the customer when goal is met. but One way is that So you can do a Destination Charge [2] and a Manual Payout[3].
Basically
In Destination charge, you charge the user $100 and transfer $80 to the connected project account; so you keep $20 as a fee;
The $80 sits on the project stripe account's balance which is not paid out to their bank account.
If the goal reaches, you trigger a manual payout to the project so that the project actually get the $80 dollars
If not, you will need to perform on refund[4] on all the transactions on that project.
That's it.
Take note the manual payout only hold for 90 days, after that it moves out directly
Your account will bear all the fees to Stripe for transactions which you can recover from your application fee ($20) on the project.
But the refund will cost you as there will be no fee earned but still payable to Stripe.
Hope it helps.
0 connect
1 accounts
2 Destination Charge
3 Manual Payouts
4 Refund

How to buy a product using a various payments methods in python?

I have a project that am working in and it almost done except one problem that i can't make or in fact i don't know how to make it done .
The client told me that he want to connect a various payments methods to his site , so lets consider that you are a user and you want to buy a product , inside your panel as a user there is a various banks or methods to buy this product, lets say:
Qiwi wallet
Webmoney
Visa Card
Master Card
Yandex money
you can choose anyone of these to buy it .
Another thing is to show your balance inside the panel so to know whether you have enough money to pay or not, also he want that the user could charge money into his balance if he didn't have enough money.
There is a service called Stripe, which provide stuffs like that, but i 'am not really sure if it would help in any way, all i know about it is, you can make any payments using Master card or Visa card that's all .
Simply the issue is to know how to, pay with various payments methods, balance status and charge balance.
The project is written in python using Flask framework .
Please Please Please , bagging you all, how to make that work, or in a different way from where to start ?, which process should i follow ?, any help really truly would be tons appreciated .
Stripe actually provides quite a number of payment methods but not all of the ones you've listed, so Stripe can definitely help, but you're going to have to implement multiple payment flows here - one for the methods that Stripe can handle, and one for each of the others - as part of your application.
With regards to the Stripe stuff, I'd suggest you have a read through the documentation to learn about getting started there.

Can you save a paypal users information to charge them later REST API?

I want to do a type of one click buy within my site using the paypal restsdk. Where the user will be able to somehow add their paypal account and we will just charge their account every time it's appropriate.
I have looked into the vault but that seems like it's a credit card only option. It would be nice to not force the user to enter a credit card if they already have a paypal account, since paypal may already have a credit card on file, or the user may have a positive paypal balance, etc.
I'm using python with the paypalrestsdk.
I don't see anything for that in the REST API, but the Classic API can do it very easily with Express Checkout Billing Agreements.
Hey this is Avi from PayPal. The PayPal REST API has billing plans and agreements too, here are the python samples. This will allow you to charge user at regular intervals.
Charging user's PayPal at arbitrary intervals through web without redirecting to PayPal is unfortunately not supported. If the user is giving consent on a mobile device, you have the option to do future payments. Here is sample for python sdk.

Categories