khalti / docs.khalti.com

Khalti Payment Gateway Documentation
https://docs.khalti.com
54 stars 63 forks source link

Add `Expired` transaction state. #47

Closed sumanchapai closed 1 year ago

sumanchapai commented 1 year ago

The example shows presence of the Expired state. Need to added in the docs, if that is actually present. See https://github.com/khalti/docs.khalti.com/blob/2669072394a0bcc56a1b0b5c9da0bb2b72d30064/content/khalti-epayment.md?plain=1#L326

sumanchapai commented 1 year ago

But this now raises a few questions. If you look at this line, https://github.com/khalti/docs.khalti.com/blob/2669072394a0bcc56a1b0b5c9da0bb2b72d30064/content/khalti-epayment.md?plain=1#L344 it says that PENDING is for both failed and PENDING transactions. How does one difference between failed and processing transactions? Also, what does EXPIRED really mean?