Skip to content

Commit

Permalink
fix: type conversion #62 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oswin-san authored Oct 10, 2024
1 parent ef713a2 commit 22581cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def create_order(self, **kwargs):
# Creating Orders https://razorpay.com/docs/api/orders/

# convert rupees to paisa
kwargs["amount"] *= 100
kwargs["amount"] = int(kwargs["amount"] * 100)

# Create integration log
integration_request = create_request_log(kwargs, service_name="Razorpay")
Expand Down

0 comments on commit 22581cc

Please sign in to comment.