diff --git a/blockchain_integration/pi_network/payment_gateways/stripe.py b/blockchain_integration/pi_network/payment_gateways/stripe.py index 413ef04e2..01c91189c 100644 --- a/blockchain_integration/pi_network/payment_gateways/stripe.py +++ b/blockchain_integration/pi_network/payment_gateways/stripe.py @@ -1,5 +1,6 @@ import stripe + class StripePaymentGateway: def __init__(self, secret_key): self.secret_key = secret_key @@ -7,8 +8,6 @@ def __init__(self, secret_key): def create_charge(self, amount, currency, source): charge = stripe.Charge.create( - amount=int(amount * 100), - currency=currency, - source=source + amount=int(amount * 100), currency=currency, source=source ) return charge