razorpay / react-native-razorpay

React Native wrapper for Razorpay's mobile SDKs
https://www.npmjs.com/package/react-native-razorpay
MIT License
124 stars 107 forks source link

Country code issue on Razorpay checkout page #255

Closed harshalijain closed 4 years ago

harshalijain commented 4 years ago

IDE Specs

Platform - Android "react-native-razorpay": "^2.1.25",

We are facing an issue in Razorpay checkout recently related to contact number

When we do a razorpay checkout and pass following prefill details apart from other details:

const options = {
      //other options
currency: 'INR',
      prefill: {
        email: "some@example.com",
        contact: "09876598765",
        name: "XYZ"
      },
    };
RazorpayCheckout.open(options) ...

On checkout page, phone number is modified to be displayed as +09876598765 instead of +919876598765. And after making payment, an error is displaying that says "Country code provided in contact is invalid"

Although when I click on Edit contact information page, it gets modified to +919876598765 automatically.

It was working fine few days ago, but now we are observing this issue on old versions on production as well without any changes made.

SCREENSHOTS

Screenshot_20200311-174536

After payment

Screenshot_20200311-174548

imtiyazzzz commented 4 years ago

I am also facing the same issue

rajkumarc2000 commented 4 years ago

I am also facing the same issue when trying to send money through razorpay

umanghome commented 4 years ago

This has been fixed. No SDK upgrades required.