/paypal_autosweep

Automatically transfers funds from Paypal account into you bank account

Primary LanguageRubyMIT LicenseMIT

paypal_autosweep

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.

Installation Instructions

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

Quick Setup

  1. Create a new free app from Google App Engine
  2. Install google-appengine: gem install google-appengine
  3. Clone this repos: git clone git://github.com/dwilkie/paypal_autosweep.git
  4. Open up: paypal_autosweep/WEB-INF/app.yaml and change application to the name of your application from step #1
  5. Open up: paypal_autosweep/config/paypal.yml and change email, password, api_username, api_password and api_signature to your Paypal account details.
  6. 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.

Advanced Configuration

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.

Problems?

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