regluit/payment
Raymond Yee a36ff38745 extraneous creation of StripeClient 2013-06-20 13:39:06 -07:00
..
management a django command to do a test charge 2012-10-02 11:49:17 -07:00
migrations [#37567927] enforce constraint of at most 1 active Account / user of given host 2012-10-11 16:36:24 -07:00
templates cleanup of css and js imports, also mapping 2013-03-08 14:16:24 -05:00
templatetags First pass at trying to integrate Amazon fps 2012-04-11 09:51:18 -07:00
README.txt Adding missing README 2011-09-27 08:56:50 -04:00
__init__.py Adding pledge payment support 2011-09-27 08:48:11 -04:00
baseprocessor.py add a payment.manager.PaymentManager.retrieve_or_make_accounts 2012-10-12 07:44:50 -07:00
credit.py To get credit module working again, had to move some methods into an object that inherits from a base class 2012-10-02 23:49:19 -04:00
forms.py First step in patching the problem of null stripe_token 2012-11-14 10:53:19 -08:00
manager.py * Comment out current payment.manager.PaymentManager.pledge -- tests run ok -- so it looks like I suspect: that we don't use that code and it's a hold-over from PayPal code 2013-06-19 18:54:32 -07:00
models.py whoa, urlencode takes dicts and this was failing silently all along 2012-12-11 13:07:09 -05:00
parameters.py First pass at writing a signal handler to recharge transaction if account updated 2012-11-12 11:22:20 -08:00
signals.py Implemented basic transaction_failed signal and notices -- THEY STILL NEED WORK 2012-11-06 11:22:25 -08:00
stripelib.py extraneous creation of StripeClient 2013-06-20 13:39:06 -07:00
tests.py mailchimp ops now example.org aware, test users, now all changed to example.org 2013-03-06 09:39:06 -05:00
urls.py Merge branch 'newpayment' into relaunch 2012-09-07 13:46:09 -07:00
views.py First pass at parsing json + log webhook 2012-10-22 07:50:52 -07:00

README.txt

Setup instructions for payment module

1)  In parameters.py, set the following:

    PAYPAL_USERNAME = Paypal username from developer.paypal.com
    PAYPAL_PASSWORD =  Paypal password from developer.paypal.com
    PAYPAL_SIGNATURE = Paypal signature from developer.paypal.com
    PAYPAL_APPID = 'APP-80W284485P519543T' (for all sandbox apps), or the real APPID

    BASE_URL = Set this to the server IP address that is accessible via port 80.  
                Local IP addresses, or non-port 80 addresses will NOT work with paypal IPN.
                
    COMPLETE_URL = relative local URL for a plege confirmation
    CANCEL_URL = relative local url for a pledge cacellation
    
2) Sync the database to include the payment specific tables

3) Configure your paypal sandbox account at developer.paypal.com with at least 1 seller and 1 buyer.  The buyer info is entered into the sandbox, the seller
    info needs to be entered into the pledge/payment itself

4) A test pledge code sample is available in regluit.payment.view.testPledge