diff --git a/blockchain_integration/pi_network/payment_gateways/google_pay.py b/blockchain_integration/pi_network/payment_gateways/google_pay.py index eea06e163..f9d5f369a 100644 --- a/blockchain_integration/pi_network/payment_gateways/google_pay.py +++ b/blockchain_integration/pi_network/payment_gateways/google_pay.py @@ -1,5 +1,6 @@ import google_pay + class GooglePayPaymentGateway: def __init__(self, merchant_id, public_key): self.merchant_id = merchant_id @@ -7,8 +8,5 @@ def __init__(self, merchant_id, public_key): google_pay.Configuration.configure(merchant_id, public_key) def create_payment(self, amount, currency): - payment = google_pay.Payment.create({ - 'amount': amount, - 'currency': currency - }) + payment = google_pay.Payment.create({"amount": amount, "currency": currency}) return payment