razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
108 stars 149 forks source link

Not able to navigate back to the app for any reason after the RazorPay payment screen opens. If the Phone number is not auto fill back don't work. If phone no is auto fill then it works. #414

Open ShivaniWani opened 1 month ago

ShivaniWani commented 1 month ago

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

Not able to navigate back to the app for any reason after the RazorPay payment screen opens. If the Phone number is not auto fill back don't work. If phone no is auto fill then it works. 1727962409739 1727962444961

There is no option for prefill the country code, when prefilling the phone number. As the result is takes any other random CountryCode for pre filled phone number

@bidur0123

Flutter Version :

Flutter 3.16.7 • channel stable • https://github.com/flutter/flutter.git Framework • revision ef1af02aea (9 months ago) • 2024-01-11 15:19:26 -0600 Engine • revision 4a585b7929 Tools • Dart 3.2.4 • DevTools 2.28.5

Xcode Version :

Not using it

Steps To Reproduce

Provided a detailed list of steps that reproduce the issue.

  1. when the RazorPay screen open after we call- ' razorpay.value?.open(options); ' And in 'options' if we don't prefill the ''contact': mbNo,' then
  2. The first screen open in Razorpay is to insert the phone number. On that screen there is back button at top- It is not working. Also the device back click is also not working on that screen.
  3. If while Calling-> 'razorpay.value?.open(options); ' and in 'options' if we prefill the ''contact': mbNo,' then both the back is working and alert dialog.

Expected Results

The first screen open in Razorpay is to insert the phone number. On that screen there is back button at top- It should take the user back to App from where razorpay is called. Also the device back click should work same.

Any Option for prefilling the countryCode when we prefill the contact.

bidur0123 commented 1 month ago

please assign me this issue

ShivaniWani commented 1 month ago

I am not able to add assignees

bidur0123 commented 1 month ago

I am not able to add assignees

If I will resolve this issue , then are you able to merge pr?

kshitijmatey commented 2 weeks ago

I am not able to add assignees

If I will resolve this issue , then are you able to merge pr?

Hello @bidur0123,

Do you have solution for this issue?