Open hiteshrsdigitech opened 1 year ago
Hi @vivekshindhe, Facing the same issue, any fix for the same? Adding my project's plugin version for ref.
@capacitor/cli: 5.7.0
Ionic CLI: 7.2.0
@angular/cli: 15.2.10
capacitor-razorpay: 1.2.0
@mukul-myhq I just tested this out on my end. Unable to reproduce this. Are the steps with which you are able to reproduce the issue the same as @hiteshrsdigitech? If not can you post the steps here? Also please post the code snippet of the payload and the instantiation of Checkout.
Hi @vivekshindhe , thanks for your quick reply, It's the same steps as listed by @hiteshrsdigitech . The issue is that on the FE I'm only getting the first failure response, and Razorpay does not give me any info regarding the next set of failures/successes. Even though on the BE payment is captured successfully (last payment state), the state on FE becomes incorrect (leaving no easy way for us to show the appropriate state). Lmk if any further assistance is needed. Thanks!
@mukul-myhq would request you to create a support ticket at your Razorpay Dashboard. Since we aren't able to reproduce the issue, a ticket will allow us to monitor and handle the issue much more closely with easier back and forth. You can mention this GitHub issue when you create the ticket. This will also help in fairly quick turnaround time.
May I know if this is fixed? I am also facing the same issue.
if the payment is successful on the first try, The resolve function passed in the .then is called. but if the payment fails and the user retries payment and if it succeeded then resolve function is not getting called.
Below is my function.
If payment success on the first attempt, then the code is working fine. I am getting a response.
But in first attempt fail and second attempt success then there is an issue.
Below is flow
First I select payment method![image](https://user-images.githubusercontent.com/70622207/206855152-a87ed926-19fa-4410-942f-cf2e36a94c25.png)
then i got redirected to payment page i click on failure![image](https://user-images.githubusercontent.com/70622207/206855203-be433089-62ec-48ed-8ab6-7fca7a82239a.png)
then below screen displayed![image](https://user-images.githubusercontent.com/70622207/206855226-cad531fd-74cf-4330-bca0-41743e084cc3.png)
Now I click on the try again button and then select payment gateway and then select success. Now I cannot get response in success case in my function.
How can I resolve this issue?
Thank you.