tangentlabs/django-oscar-paypal — pull request #42 by daronstinnett (2013-09-25 23:44:00+00:00)
Title: Allows application to pass in Express API credentials in order to support multiple paypal express accounts.

...als rather that override credentials normally defined in settings. This allows the a single installation to support multiple Paypal Express accounts.

- added gateway_kwargs as parameter to express gateway functions
- allows views to pass extra params to gateway
- allows views to override default gateway params (for example, API credentials)
- added GatewayViewMixin that adds method: get_gateway_kwargs to Paypal Express views that call gateway
- allows applications to subclass Paypal Express views to inject gateway_kwargs