Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to test netbanking payments in Android, always gets error "We are facing some trouble completing your request at the moment. Please try again shortly" #429

Open
1 task
sandarshnaroju opened this issue Dec 14, 2022 · 3 comments

Comments

@sandarshnaroju
Copy link

Description

I am trying to integrate razorpay with cutomUI in Android. Upi payments works flawlessly with test key. But, I am unable to check test payments for subscribing to a plan with netbanking option. I always get

{"code": 5, "description": "{\"error\":{\"code\":\"SERVER_ERROR\",\"description\":\"We are facing some trouble completing your request at the moment. Please try again shortly.\",\"source\":\"NA\",\"step\":\"NA\",\"reason\":\"NA\",\"metadata\":{}},\"http_status_code\":500}"}

  • Specific to iOS Users :-
  • I have tried updating Razorpay pod to the latest version by using 'pod update'.

Razorpay Package Version :

"react-native-customui": "^2.2.2",

Xcode Version (iOS) :

Open Xcode > Go to About Xcode > copy the Xcode version here.

Razorpay-pod version (iOS) :

Go to your project path > Go to folder named ios > open 'podfile.lock' file > search for 'razorpay-pod' > copy the line here

Java and Gradle Version (android) :

Specify your Java and Gradle version.

What you did:

I am calling Razorpay.open like this

const razorpayOptions = {
      description: planData['description'],
      currency: planData['currency'],
      key_id: RAZORPAY_KEY,   // test key
      amount: planData['price'],
      email: planData['email'],
      contact: planData['phone'],
      method: 'netbanking',
      bank: data['code'],

      subscription_id: planData['sub_id'],
    };

    Razorpay.open(razorpayOptions).then(()=>{}).catch(()=>{});

What happened:

in Razorpay.open catch I always get this error
{"code": 5, "description": "{\"error\":{\"code\":\"SERVER_ERROR\",\"description\":\"We are facing some trouble completing your request at the moment. Please try again shortly.\",\"source\":\"NA\",\"step\":\"NA\",\"reason\":\"NA\",\"metadata\":{}},\"http_status_code\":500}"}

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

Suggested solution:

Code example, screenshot, or link to a repository:

Please provide a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
You may provide a screenshot of the application if you think it is relevant to your bug report.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

@shibichakkaravarthy
Copy link

I'm also facing the same error here but for both platforms and for all payment methods. Please provide us some solution

@dipmakV2
Copy link

dipmakV2 commented Jan 19, 2024

I'm also facing the same error for all payment methods while using subscriptions link.

@nileshp-07
Copy link

i also getting this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants