Changeset 12321 for main


Ignore:
Timestamp:
26 Dec 2014, 08:39:20 (10 years ago)
Author:
uli
Message:

Clean up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/payments/paypal.py

    r12311 r12321  
    11261126    title = _(u'Credit Card (PayPal)')
    11271127
     1128    def get_credit_card(payer_id):
     1129        """Get an ICreditCard for `payer_id`.
     1130
     1131        `None` if the payer has (yet) no credit card stored with ikoba.
     1132        """
     1133        pass
     1134
    11281135    def create_payment(self, payer, payment_item,  payee=None):
    11291136        if not IPayer.providedBy(payer):
     
    11311138        if not IPaymentItem.providedBy(payment_item):
    11321139            payment_item = IPaymentItem(payment_item)
     1140        if (payee is not None) and (not IPayee.providedBy(payee)):
     1141            payee = IPayee(payee)
    11331142        return None
    1134         payment = get_payment()
    1135         return payment
    11361143
    11371144
Note: See TracChangeset for help on using the changeset viewer.