Rename token to id_payment_method

This commit is contained in:
PCoder 2020-12-31 22:43:50 +05:30
commit 7b71ba55f2
2 changed files with 3 additions and 3 deletions

View file

@ -277,7 +277,7 @@ class StripeCustomer(models.Model):
return "%s - %s" % (self.stripe_id, self.user.email)
@classmethod
def create_stripe_api_customer(cls, email=None, token=None,
def create_stripe_api_customer(cls, email=None, id_payment_method=None,
customer_name=None):
"""
This method creates a Stripe API customer with the given