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

After payment failure there is no try again option, which used to come earlier, Currently a page comes which shows payment failed status and message showing redirection in some seconds. But it does not redirect #395

Open
sumanth1462 opened this issue Jul 26, 2024 · 7 comments

Comments

@sumanth1462
Copy link

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

Description

Please provide a clear and concise description of what the bug is. Include screenshots if needed.
Please test using the latest Razorpay Flutter plugin release to make sure your issue has not already been fixed:

Flutter Version :

Run flutter version in your terminal and copy the results here.

Xcode Version :

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

Cocoapod Version :

Go to iOS folder > open podfile.lock > copy the razorpay-pod version and razorpay_fluttera version.

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

Expected Results

Describe what you expected to happen.

Snack, 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

@sumanth1462 sumanth1462 changed the title After payment failure there is no try again option, which used to come earlier, Currently a page comes which show payemt failed status and message showing redirection some seconds. But it does not redirect After payment failure there is no try again option, which used to come earlier, Currently a page comes which shows payment failed status and message showing redirection in some seconds. But it does not redirect Jul 26, 2024
@vivekshindhe
Copy link
Contributor

@sumanth1462 Can you pass the following retry object in the payload?
Have added a sample for your reference.

var options = {
  'key': '<YOUR_KEY_HERE>',
  'amount': 100,
  'name': 'Acme Corp.',
  'description': 'Fine T-Shirt',
  'retry':{
      'enabled':true,
      'max_count':4
  },
  'prefill': {
    'contact': '8888888888',
    'email': '[email protected]'
  }
};

@sumanth1462
Copy link
Author

thank you for the response. But in documentation it is mentioned that by default enabled will be true. Attaching screenshot for reference
Screenshot 2024-07-29 121710

@vivekshindhe
Copy link
Contributor

it is. While we are looking into the reason for it not being displayed, maybe you can resolve this at your end first to get it up and running? @sumanth1462

@sumanth1462
Copy link
Author

sumanth1462 commented Jul 29, 2024

After doing the changes specified by you , it worked once but later same is(try again pop up) not showing up.

@vivekshindhe
Copy link
Contributor

@sumanth1462 would it be possible for you to share a video of the flow you are seeing? Do you mean that if a payment is unsuccessful the retry isn't showing? or if the retry isn't showing when the user clicks on the back button during the payment and specifically cancels a payment.

@sumanth1462
Copy link
Author

sumanth1462 commented Jul 30, 2024

@vivekshindhe, I checked again today on both our live product (which does not have the changes you suggested) and a testing app (which includes the retry changes). In both cases, the popup was shown. Are any dynamic changes being made on your end?. Attaching image which showcases the issue specified.
Image_20240729_142624_249

@vivekshindhe
Copy link
Contributor

@sumanth1462 Not sure of the changes, will have to look into it. Would it be possible for you to share your app name to my mail address : [email protected]? This will help us test this as well. We aren't able to get the scenario in which this isn't happening. A step-by-step progress, or a video would be very helpful.

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

2 participants