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

Multiple Subscription like 1Month, 2Month and 3Month amount is not being updated. #306

Closed Moonubanna closed 3 years ago

Moonubanna commented 3 years ago

Due to multiple subscriptions, the value of the amount is not being updated.

Please help!! Thanks in advanced

sumedht commented 3 years ago

@Moonubanna can u please elaborate issue u facing. Is it something like if u changed subscription duration, value is not getting changed?

Moonubanna commented 3 years ago

Helo sumedh, Thank you for your response. Please see the attached screenshot. Whenever i call RazorpayCheckout.open(options) function by selecting the value of 1month. Then without paying close this razorpay popup. Then select the value of 2nd month and then call again RazorpayCheckout.open(options) this function its showing the price of 1 month. Whereas now the price show of 2nd month should be done.

Please help me!! Thank you in advance Keep healthy [image: Screenshot_1607531854.png]

On Wed, Nov 25, 2020 at 12:38 PM Sumedh notifications@github.com wrote:

@Moonubanna https://github.com/Moonubanna can u please elaborate issue u facing. Is it something like if u changed subscription duration, value is not getting changed?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/razorpay/react-native-razorpay/issues/306#issuecomment-733512434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AED5E2RSIQWUL22X54RNSV3SRSUNZANCNFSM4UBHZSPA .

--

Thanks and Regards, Praveen Singh Screenshot_1607531854

Nautiyalsachin commented 3 years ago

Hey @Moonubanna, what happened when you try with 2 months options when you open it first time?

Moonubanna commented 3 years ago

Hey @Moonubanna, what happened when you try with 2 months options when you open it first time?

When I select the price of the first time 1 month and the payment dialog opens and I cancel it without completing the payment. And then I open the payment dialog again by selecting the price of 2 months or 3 months, then I get the price of 1 month in the payment dialog whereas the price of 2 months or 3 months is required. the price is being updated in the option.

1 Month = 100 2 Month = 200 3 Month = 300

Select 1 month price -> open payment dialog -> Cancel payment -> change month (2 Month/3 Month), state updated price one month to two month -> open payment dialog again -> price not updated in payment dialog showing again 1 month price

This is the actual issue which I am facing.

video url: https://www.youtube.com/watch?v=hY2110rWqPg&feature=youtu.be

Nautiyalsachin commented 3 years ago

Hi @Moonubanna, can you parallelly show the data in the above video. Just to confirm if the data is passed correctly. What about Android devices is the results are the same in both?

Nautiyalsachin commented 3 years ago

Closing this issue, due to inactivity. Feel free to add comments here or re-opening this issue.