I am using Unirgy Gift Certificate on a magento installation.
While ordering physical products, if a payment fails on my payment gateway, default order status on the backend is 'Pending', but if the product is a Gift Certificate, and the payment fails on the payment gateway the order status remains 'Processing', which is also the default order status for normal items paid normally.
This is creating a confusion for my finance team at the backend.
I have tried to manually set the order status to pending in the authorise method, just before redirecting to the payment gateway, but whatever I do, the status always goes to processing.
Any pointers?
I did ask the support and they said that since the Gift Certificate is a virtual product, magento does not need to ship it and hence the order status becomes pending automatically.