Skip to content

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

Fix incorrect passing the payment data

Maciej Korycinski2e85faee4175
diff --git a/saleor/payment/gateways/adyen/plugin.py b/saleor/payment/gateways/adyen/plugin.py
index 67c7ac2152..e6f081d9c1 100644
--- a/saleor/payment/gateways/adyen/plugin.py
+++ b/saleor/payment/gateways/adyen/plugin.py
@@ -217,10 +217,7 @@ class AdyenGatewayPlugin(BasePlugin):
"field": "origin_key",
"value": config.connection_params["origin_key"],
},
- {
- "field": "config",
- "value": json.dumps(response.message.get("paymentMethods", {})),
- },
+ {"field": "config", "value": json.dumps(response.message)},
],
currencies=self.get_supported_currencies([]),
)