You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implented react-paypal-button-v2 in my project and it is working fine till yesterday.
It is live from last 3 months but i get a issue from client that one of the user gets charged the money but the record is not saved on database. after doing R&D on it i found that this package calls capture() then it deducts the money but when i close the modal by clicking on somewhere outside the modal then it didnt call the onsuccess method which we call for storing transaction details in our detabase.
This is the code
Here onSuccess(data,details) is to save transaction in my local database but it is not even called .
Thanks
The text was updated successfully, but these errors were encountered:
bipindubey-technoark
changed the title
Payment gets dedudcted but it doesnt call success function in onSuccess when user clicks somewhere
Payment gets dedudcted but it doesnt call success function in onApprove when user clicks somewhere
Apr 2, 2021
I have noticed one thing it calls capture() but what if capture () is still pending and then we close the modal then it doesnt call the api which will save record in database
I am implented react-paypal-button-v2 in my project and it is working fine till yesterday.
It is live from last 3 months but i get a issue from client that one of the user gets charged the money but the record is not saved on database. after doing R&D on it i found that this package calls capture() then it deducts the money but when i close the modal by clicking on somewhere outside the modal then it didnt call the onsuccess method which we call for storing transaction details in our detabase.
This is the code
Here onSuccess(data,details) is to save transaction in my local database but it is not even called .
Thanks
The text was updated successfully, but these errors were encountered: