Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update wrong typing in a payment utility signature

NyanKiyoshi477c6970febf
diff --git a/saleor/payment/utils.py b/saleor/payment/utils.py
index 231412783a..5db2ba9dd4 100644
--- a/saleor/payment/utils.py
+++ b/saleor/payment/utils.py
@@ -178,7 +178,7 @@ def mark_order_as_paid(order: Order, request_user: User):
def create_transaction(
- payment: Payment, kind: str, payment_information: Dict,
+ payment: Payment, kind: str, payment_information: PaymentData,
gateway_response: GatewayResponse = None, error_msg=None
) -> Transaction:
"""Create a transaction based on transaction kind and gateway response."""