It's a business question but I hope someone will answer.
Why "Pending Payment" state/status is not visible on frontend by default?
I'm implementing right now Magento 2 integration with some payment gateway and the flow there looks like that:
- Place order
- Redirect to gateway
- Make payment
- Redirect to store (success or error page)
- Wait for gateway to notify your store about payment status change
"5." usually takes a few seconds and sometimes even more. Because of that, when redirecting to success page, the transaction is often not finished and order status remains "Pending Payment". This leads to the weird behavior that properly placed order is not visible for customer right after paying.
Maybe I shouldn't use "Pending Payment" state at all in my case? Or maybe should I create module's own "Pending Payment" status which will be visible on frontend and force order to change its status to it?