question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to create order

See original GitHub issue
order_amount = 50000
order_currency = 'INR'
order_receipt = 'order_rcptid_11'
notes = {'Shipping address': 'Bommanahalli, Bangalore'}
client.order.create(amount=order_amount, currency=order_currency, receipt=order_receipt, notes=notes, payment_capture='1')

The script crashes with the error:

TypeError: request() got an unexpected keyword argument 'amount'

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ramth05commented, Sep 29, 2020

What does receipt specify?

@noobExtendsBot , please follow the razorpay doc https://razorpay.com/docs/api/orders/#order-entity

0reactions
ankitdas13commented, Nov 24, 2022

@napsterv Could you please let us know if this issue has been resolved. If it has been resolved, please close it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to create order | WordPress.org
Hello support, I've updated woo templates files which I've modified into my custom theme and I've override by creating a directory named “woocommerce”...
Read more >
How to fix unable to create order issue in woocommerce?
During checking out I'm facing this issue Unable to create order. My wordpress version is 5.9.1 and woocommerce version is 5.9.0.
Read more >
Error: Unable to create order. · Issue #22603 - GitHub
I'm unable to checkout using paypal because I get an error: unable to create order. What I've found: During $this->strip_invalid_text( $data ); ...
Read more >
[Solved Temporary] Unable to create order.
My website suddenly occur a message called "Unable to create order." when PLACE ORDER, this problem occur last week after I've updated some ......
Read more >
Error 402: Unable to create order - wplms
Hi,. I'm trying to finally update and put live my website with wplms. I brought to wplms all users (via phpmyadmin) and orders...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found