regluit/payment
Andromeda Yelton be6a1082c2 whoa, urlencode takes dicts and this was failing silently all along 2012-12-11 13:07:09 -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 [finish #40315289] I move the notice on transaction charged or failed from webhooks handler into stripelib.Processor.Execute 2012-11-29 16:24:51 -08:00
tests.py basic skeleton for test based on loading fixture 2012-10-31 11:08:46 -07: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