Paypal offers a feature called Autosweep which will withdraw your Paypal balance into your back account at the end of the day. Problem is Autosweep is only available to US bank account holders and is somewhat inflexible.
This mini app built for Google App Engine allows you to use the functionality of Autosweep on any Paypal account linked to a bank account. Advanced features include setting up minimum balances and minimum transfer amounts as well as testing in the sandbox.
Since the Paypal doesn't allow you to transfer money to your bank account via the API, this app requires you upload your Paypal email address and password to your google app-engine account. This data is kept private by google, but if you are uncomfortable with this please don't use this app.
If you haven't already done so, install ruby 1.8.7, rubygems and git. Ruby 1.8.7 is required because App Engine requires JRuby.
Windows users check the Wiki
- Create a new free app from Google App Engine
- Install google-appengine:
gem install google-appengine
- Clone this repos:
git clone git://github.com/dwilkie/paypal_autosweep.git
- Open up:
paypal_autosweep/WEB-INF/app.yaml
and changeapplication
to the name of your application from step #1 - Open up:
paypal_autosweep/config/paypal.yml
and changeemail
,password
,api_username
,api_password
andapi_signature
to your Paypal account details. - Upload to google-appengine:
appcfg.rb update .
and follow the prompts
By default your entire Paypal balance will be transferred to your linked bank account every 24 hours.
paypal_autosweep/config/paypal.yml
contains advanced configuration options such as developer and sandbox accounts as well as minimum balance and minimum transfer options.
paypal_autosweep/WEB-INF/cron.yaml
controls the scheduling of your autosweeps. Read the examples in this file to change the scheduling.
Check your logs and datastore by logging into your Google App Engine Account. The datastore view contains details of successful and unsucessful Autosweep attempts along with any relevent error messages.
If you still can't solve the problem submit a new issue.
Copyright (c) 2010 David Wilkie, released under the MIT license