diff --git a/blockchain_integration/pi_network/payment_gateways/braintree.py b/blockchain_integration/pi_network/payment_gateways/braintree.py index b9ce58969..adfbf7354 100644 --- a/blockchain_integration/pi_network/payment_gateways/braintree.py +++ b/blockchain_integration/pi_network/payment_gateways/braintree.py @@ -1,5 +1,6 @@ import braintree + class BraintreePaymentGateway: def __init__(self, merchant_id, public_key, private_key): self.merchant_id = merchant_id @@ -8,8 +9,5 @@ def __init__(self, merchant_id, public_key, private_key): braintree.Configuration.configure(merchant_id, public_key, private_key) def create_payment(self, amount, currency): - payment = braintree.Transaction.sale({ - 'amount': amount, - 'currency': currency - }) + payment = braintree.Transaction.sale({"amount": amount, "currency": currency}) return payment