Skip to content

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

Merge branch 'master' into feature/possibility-to-return-products

Maciej Korycinskif42567c86021
diff --cc saleor/payment/utils.py
index f42589e914,55055cd66e..9407774291
--- a/saleor/payment/utils.py
+++ b/saleor/payment/utils.py
@@@ -161,8 -160,8 +161,8 @@@ def create_transaction
gateway_response = GatewayResponse(
kind=kind,
action_required=False,
- transaction_id=payment_information.token,
+ transaction_id=payment_information.token or "",
- is_success=False,
+ is_success=is_success,
amount=payment_information.amount,
currency=payment_information.currency,
error=error_msg,