Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return IfExp Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str If BoolOpAnd AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr body TryExcept body Return BinOpMod Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler body Pass Return NameLoad decorator_list decorator_list Assign NameStore Dict Str NameLoad For NameStore ListLoad Str Str Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args defaults body Expr Str Return BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str keyword ListLoad SubscriptLoad NameLoad Index Str Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str keyword ListLoad SubscriptLoad NameLoad Index Str Str orelse Assign NameStore NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Dict Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Str Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Call NameLoad Call NameLoad Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str BinOpMod Str SubscriptLoad NameLoad Index Str Str Str Str If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str With Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr Str NameLoad keyword SubscriptLoad NameLoad Index Str Return TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr Str Dict Str NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad decorator_list Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Dict Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str For TupleStore NameStore NameStore ListLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad Str Str TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index BinOpMod Str Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Raise ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Raise NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Call Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore CompareEq SubscriptLoad NameLoad Index Str Str Assign NameStore IfExp NameLoad NameLoad SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call NameLoad BinOpMod Str NameLoad Num NameLoad keyword AttributeLoad NameLoad attr keyword BinOpMod Str NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Str decorator_list
N/A N/A urllib N/A urlparse django.conf settings django.utils.http urlquote django.utils.translation ugettext _ N/A commonware.log django_statsd.clients statsd N/A requests olympia amo olympia.amo.helpers absolutify olympia.amo.urlresolvers reverse olympia.amo.utils log_cef PaypalError N/A Exception N/A __init__ N/A N/A self message id paypal_data N/A None None N/A N/A N/A N/A N/A super PaypalError self __init__ message N/A N/A self id id N/A N/A self paypal_data paypal_data N/A N/A self default N/A _ There was an error communicating with PayPal. Please try again later. N/A __str__ N/A N/A self N/A N/A N/A msg N/A self message N/A N/A msg N/A N/A msg N/A N/A messages get N/A self id N/A self default N/A N/A N/A isinstance msg unicode N/A N/A msg encode utf8 msg N/A N/A PaypalDataError N/A PaypalError N/A N/A N/A AuthError N/A PaypalError N/A N/A N/A CurrencyError N/A PaypalError N/A __str__ N/A N/A self N/A N/A N/A default N/A _ There was an error with this currency. N/A N/A N/A self paypal_data N/A currencyCode N/A self paypal_data N/A N/A N/A N/A N/A N/A N/A messages get N/A self id N/A N/A amo PAYPAL_CURRENCIES N/A N/A N/A self paypal_data N/A currencyCode N/A N/A N/A N/A N/A default N/A N/A N/A errors N/A 520003 AuthError N/A number N/A 559044 580027 580022 N/A N/A N/A errors N/A number CurrencyError N/A messages N/A 589023 579033 559044 N/A _ The amount is too small for conversion into the receiver's currency. N/A _ The buyer and seller must have different PayPal accounts. N/A _ The seller does not accept payments in %s. N/A paypal_log N/A N/A N/A commonware log getLogger z.paypal should_ignore_paypal N/A N/A N/A N/A N/A 
    Returns whether to skip PayPal communications for development
    purposes or not.
     N/A N/A N/A settings DEBUG N/A sandbox N/A settings PAYPAL_PERMISSIONS_URL N/A get_paykey N/A N/A data N/A N/A N/A 
    Gets a paykey from Paypal. Need to pass in the following in data:
    pattern: the reverse pattern to resolve
    email: who the money is going to (required)
    amount: the amount of money (required)
    ip: ip address of end user (required)
    uuid: contribution_uuid (required)
    memo: any nice message (optional)
    qs: anything you want to append to the complete or cancel (optional)
    currency: valid paypal currency, defaults to USD (optional)
     N/A N/A data N/A pattern N/A N/A complete N/A reverse N/A data N/A pattern args N/A N/A data N/A slug complete N/A cancel N/A reverse N/A data N/A pattern args N/A N/A data N/A slug cancel N/A N/A complete cancel N/A N/A settings SITE_URL /paypal/dummy/ N/A qs N/A uuid N/A data N/A uuid N/A N/A qs data N/A N/A N/A N/A qs update N/A data N/A qs N/A uuid_qs N/A N/A urllib urlencode qs N/A paypal_data N/A actionType currencyCode cancelUrl returnUrl trackingId ipnNotificationUrl receiverList.receiver(0).email receiverList.receiver(0).amount receiverList.receiver(0).invoiceID receiverList.receiver(0).primary receiverList.receiver(0).paymentType requestEnvelope.errorLanguage PAY N/A N/A data get currency USD N/A absolutify N/A %s?%s N/A cancel uuid_qs N/A absolutify N/A %s?%s N/A complete uuid_qs N/A data N/A uuid N/A absolutify N/A reverse amo.paypal N/A data N/A email N/A data N/A amount N/A mozilla-%s N/A data N/A uuid TRUE DIGITALGOODS US N/A N/A N/A data get memo N/A N/A N/A paypal_data N/A memo N/A data N/A memo N/A N/A N/A statsd timer paypal.paykey.retrieval N/A N/A response N/A _call N/A N/A settings PAYPAL_PAY_URL Pay paypal_data ip N/A data N/A ip N/A N/A N/A response N/A payKey N/A response N/A paymentExecStatus N/A check_purchase N/A N/A paykey N/A N/A N/A 
    When a purchase is complete checks paypal that the purchase has gone
    through.
     N/A N/A N/A statsd timer paypal.payment.details N/A N/A N/A N/A response N/A _call N/A N/A settings PAYPAL_PAY_URL PaymentDetails N/A payKey paykey N/A N/A N/A PaypalError N/A N/A N/A N/A paypal_log error Payment details error exc_info True N/A False N/A N/A response N/A status N/A _nvp_dump N/A N/A data N/A N/A N/A 
    Dumps a dict out into NVP pairs suitable for PayPal to consume.
     escape N/A N/A k v N/A N/A N/A N/A %s=%s N/A k N/A urlquote v N/A N/A out N/A N/A N/A k v N/A sorted N/A N/A data items N/A N/A N/A isinstance v N/A list tuple N/A N/A N/A N/A out extend N/A N/A escape N/A %s(%s) N/A k x v_ N/A N/A x v_ N/A enumerate v N/A N/A N/A N/A out append N/A escape k v N/A N/A N/A & join out N/A _call N/A N/A url paypal_data ip N/A None N/A N/A headers N/A N/A auth N/A settings PAYPAL_EMBEDDED_AUTH N/A N/A requestEnvelope.errorLanguage paypal_data N/A N/A N/A paypal_data N/A requestEnvelope.errorLanguage en_US N/A N/A key value N/A N/A application-id N/A settings PAYPAL_APP_ID N/A request-data-format NV N/A response-data-format NV N/A application-id N/A settings PAYPAL_APP_ID N/A security-userid N/A auth N/A USER N/A security-password N/A auth N/A PASSWORD N/A security-signature N/A auth N/A SIGNATURE N/A N/A N/A headers N/A N/A X-PAYPAL-%s N/A N/A key upper value N/A ip N/A N/A N/A headers N/A X-PAYPAL-DEVICE-IPADDRESS ip N/A N/A N/A data N/A _nvp_dump paypal_data N/A feeddata N/A N/A requests post url headers headers timeout 10 data data verify True cert N/A settings PAYPAL_CERT N/A N/A N/A AuthError N/A error N/A N/A N/A N/A paypal_log error N/A Authentication error: %s error N/A N/A N/A Exception N/A error N/A N/A N/A N/A paypal_log error N/A HTTP Error: %s error N/A PaypalError N/A response N/A dict N/A N/A urlparse parse_qsl N/A feeddata text N/A N/A error(0).errorId response N/A N/A N/A id_ msg N/A N/A response N/A error(0).errorId N/A response N/A error(0).message N/A N/A N/A paypal_log error N/A Paypal Error (%s): %s N/A id_ msg N/A N/A N/A N/A errors get id_ PaypalError id id_ paypal_data paypal_data N/A response N/A check_paypal_id N/A N/A name N/A N/A N/A 
    Use the button API to check if name is a valid Paypal id.

    Returns bool(valid), str(msg).  msg will be None if there wasn't an error.
     N/A d N/A dict version N/A settings PAYPAL_API_VERSION buttoncode cleartext buttontype donate method BMCreateButton l_buttonvar0 N/A business=%s name N/A N/A d N/A user N/A N/A settings PAYPAL_EMBEDDED_AUTH N/A USER N/A N/A d N/A pwd N/A N/A settings PAYPAL_EMBEDDED_AUTH N/A PASSWORD N/A N/A d N/A signature N/A N/A settings PAYPAL_EMBEDDED_AUTH N/A SIGNATURE N/A r N/A N/A requests get N/A settings PAYPAL_API_URL params d timeout 10 N/A response N/A dict N/A N/A urlparse parse_qsl N/A r text N/A valid N/A N/A response N/A ACK Success N/A msg N/A valid None N/A response N/A L_LONGMESSAGE0 N/A N/A valid msg N/A paypal_log_cef N/A N/A request addon uuid msg caps longer N/A N/A N/A N/A log_cef N/A Paypal %s msg 5 request username N/A request user signature N/A PAYPAL%s caps msg longer cs2 N/A addon name cs2Label PaypalTransaction cs4 uuid cs4Label TxID N/A