razorpay / razorpay-node

Razorpay node.js bindings
MIT License
165 stars 108 forks source link

documentation on what are the different payment statuses #324

Open thevikas opened 1 year ago

thevikas commented 1 year ago

Steps to reproduce the behavior

Documentation on what are the different payment statuses and what they each mean. Right now I can only see "captured" but no explanation on what does it mean. Could not spot examples of few other errors like denied by bank due to not enough balance, or denied cause user rejected it or denied cause of fraud detection etc etc. If there are such docs please share links.

Expected behavior

...

Actual behavior

...

Code snippets

No response

Node version

general

Library version

general

Additional Information

No response

ankitdas13 commented 1 year ago

@thevikas Please check out this doc . It will help you understand how payment states work. let me know if you find it helpful

thevikas commented 1 year ago

yes. I later I had found this doc. But that's the problem. If API response is mentioned at a place, either full explanation of all status codes should be also given at place or a link to navigate should be given. Actually even repeating same thing a few times is not so bad.

ankitdas13 commented 1 year ago

@thevikas We have noted this and will discuss it with the technical writer. To make it more user-friendly, we will recommend including all status details, including explanations, there.

thevikas commented 1 year ago

super. thanks