- Timestamp:
- 26 Dec 2014, 08:39:20 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/paypal.py
r12311 r12321 1126 1126 title = _(u'Credit Card (PayPal)') 1127 1127 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 1128 1135 def create_payment(self, payer, payment_item, payee=None): 1129 1136 if not IPayer.providedBy(payer): … … 1131 1138 if not IPaymentItem.providedBy(payment_item): 1132 1139 payment_item = IPaymentItem(payment_item) 1140 if (payee is not None) and (not IPayee.providedBy(payee)): 1141 payee = IPayee(payee) 1133 1142 return None 1134 payment = get_payment()1135 return payment1136 1143 1137 1144
Note: See TracChangeset for help on using the changeset viewer.