Closed crashzk closed 5 months ago
Pending payments are just payment started but without any "real" payment yet, what would be the point of displaying them?
Also it would very confusing to see a lot of pending/error payments, it suggests an issue with the payment gateway integration, while it’s 100% normal and only corresponds to incomplete payments.
For error payments, it’s a also a statut where a true error is associated (usually in the logs), and should never appear, or otherwise should be investigated (unlike incomplete payments which are expected on a production website)
I understand, regarding these Pending
payment statuses. It may at some point be changed, to Error for example.
In other words, after X amount of time it changes since it has not identified payment or anything.
Or does this status change need to be done by the payment method plugin in question that I'm using?
I guess the solution would be to just delete these unused payments after some time as they are no longer necessary
I guess the solution would be to just delete these unused payments after some time as they are no longer necessary
Yes, I thought about that too... In this case, I can delete these payments using the method I use, right, plugin in question?
Or do you think it's better to implement this feature directly in the Shop plugin so that it becomes the default for all payment methods you have that can be made?
Yes makes more sense in the shop plugin as it's common to all gateways
Yes makes more sense in the shop plugin as it's common to all gateways
Perfec @MrMicky-FR, I'll leave this issue to you, but it would take a long time to mark these pending payments, with an Error
status.
Since some payment methods may take 3 business days to confirm payment, an example would be a bank slip. Anyway, curious to see how this issue will be handled in all payments.
In any case, thanks for now.
Currently, when a payment is marked as status![image](https://github.com/Azuriom/Plugin-Shop/assets/32937653/dcd3162c-e3b2-48e4-8483-1e9490b7c093)
pending
in the database, it is not displayed on the website in the payments tab.As you can see in the screenshot below, it only shows payments that have received a status other than![image](https://github.com/Azuriom/Plugin-Shop/assets/32937653/eb991ffb-a422-4f95-aa38-673fb43befb8)
pending
.It would be interesting if even payments with a pending status were shown on the website in the payments tab.
And make sure that with these purchases with pending payment status, run a check again to check the payment status at least X times or mark it as status
Error
.