regluit/payment
eric d6a8dedfaa mailchimp ops now example.org aware, test users, now all changed to example.org 2013-03-06 09:39:06 -05: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 xhtml nits 2012-10-15 10:28:31 -04: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 a few modifications to pledge_failed notice 2012-11-21 11:40:19 -08: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 [#41908015] 'incorrect_number' and 'processing_error' error should also result in pledge_failed notice -> 2013-01-03 14:10:05 -05: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