Merge branch 'nico/meow-pay-master' into HEAD
This commit is contained in:
commit
5de973b204
34 changed files with 886 additions and 4 deletions
|
|
@ -72,8 +72,9 @@ class StripeUtils(object):
|
|||
PLAN_EXISTS_ERROR_MSG = 'Plan {} exists already.\nCreating a local StripePlan now.'
|
||||
PLAN_DOES_NOT_EXIST_ERROR_MSG = 'Plan {} does not exist.'
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self, private_key):
|
||||
self.stripe = stripe
|
||||
stripe.api_key = private_key
|
||||
|
||||
@handle_stripe_error
|
||||
def card_exists(self, customer, cc_number, exp_month, exp_year, cvc):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue