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.

USD is not supported for creating a plan in razorpay

See original GitHub issue
client = razorpay.Client(auth=(keyId, keySecret))

plan=client.plan.create({
            "period": "weekly",
            "interval": 1,
            "item": {
                "name": "Test plan - Weekly",
                "amount": 1000,
                "currency": "USD",
                "description": "Description for the test plan"
            },
            "notes": {
                "notes_key_1": "note 1",
                "notes_key_2": "note2"
            }
})

I want to create a plan for subscription which support USD as currency but its throwing this error “razorpay.errors.BadRequestError: Currency provided is not supported”

When I am using INR as currency its working fine. How to use USD as currency type in razorpay python for reating a plan for subscription

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ankitdas13commented, Nov 22, 2022

Thanks a lot @sanzzzay for helping the users . Closing this issue since it has been resolved. If you need further help, please let us know.

1reaction
kanav-rainacommented, Oct 1, 2021

Thanks @sanzzzay

Read more comments on GitHub >

github_iconTop Results From Across the Web

International Payment Support | Razorpay Docs
Log into the. Razorpay Dashboard . · Navigate to Settings → Payment Methods. · Select International Payments and click Request. Request access for...
Read more >
Accept international payments effortlessly with multi-currency ...
Accept payments from countries across the world. International payments on Razorpay supports nearly 100 major currencies from all over the globe.
Read more >
Frequently Asked Questions | Razorpay Docs
A payment is said to be in the 'failed' state when we do not receive a successful callback message on the transaction from...
Read more >
Create and View Plans | Razorpay Docs
Create the plan in the currency you want to charge the customer. You can select any one of our. supported currencies. to create...
Read more >
Accepting International Payments Gets Easier with Razorpay
See the full list of supported currencies here. You can now list and accept payments in the local currency of your customers based...
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