Skip to content

Instantly share code, notes, and snippets.

@mamachanko
Last active August 29, 2015 14:07
Show Gist options
  • Save mamachanko/dcff9f436bebcb95c891 to your computer and use it in GitHub Desktop.
Save mamachanko/dcff9f436bebcb95c891 to your computer and use it in GitHub Desktop.
paypal-python None configs
#!/usr/bin/env python
from paypal import PayPalConfig, PayPalInterface
config = {'API_USERNAME': None,
'API_PASSWORD': None,
'API_SIGNATURE': None}
paypal_config = PayPalConfig(**config)
paypal_interface = PayPalInterface(paypal_config)
# raises exception
paypal_interface.set_express_checkout()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment