Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
fix(payment/razorpay): Modify comment to be inline with code (#9238)
Sanyam Khuranade417af248e2
diff --git a/saleor/payment/gateways/razorpay/__init__.py b/saleor/payment/gateways/razorpay/__init__.pyindex 7f87ed78a7..6b5ef58e40 100644--- a/saleor/payment/gateways/razorpay/__init__.py+++ b/saleor/payment/gateways/razorpay/__init__.py@@ -67,7 +67,7 @@ def clean_razorpay_response(response: Dict):"""Convert the Razorpay response to our internal representation for easier processing.As the Razorpay response payload contains the final amount- in Indian rupees, we convert the amount to paisa (by dividing by 100).+ in paisa, we convert the amount to Indian Rupees (by dividing by 100)."""response["amount"] = Decimal(response["amount"]) / 100