I have a custom developed PAYMENT PLUGIN for a payment gateway.
When someone orders a product and successfully pays (Via payment gateway) the order in backend seems like this:
(http://s29.postimg.org/gp556um43/order_kreditna_01.jpg) (http://postimg.org/image/gp556um43/)
Why at the left the order status says CONFIRMED and why at the right shows PENDING. I am asking because this order won't trigger the email for the order? Is this a custom payment plugin misconfiguration?
This example shows a standard order with deafult payment by Virtuemart:
(http://s29.postimg.org/6dsse6uer/order_kreditna_02.jpg) (http://postimg.org/image/6dsse6uer/)
Order status at the left matches order status at the right.
Any ideas?
Best regards.
VirtueMart 3.0.8
Joomla! 3.4.1
Hi,
I did some in-depth research into the DB and code.
I see in the code when the order is processed (or finalised) by the CUSTOM PAYMENT PLUGIN at the end it modifies order status in _VIRTUEMART_ORDERS table.
but,
It doesn't change the ORDER STATUS in the table _VIRTUEMART_ORDER_HISTORIES.
I think it should also change _virtuemart_order_histories table ?
Am I right?
Best regards
Hi,
The research goes on ... it may be that the function "notifyCustomer" is missing. LINK: http://docs.virtuemart.net/api-vm2/db/dfb/class_virtue_mart_model_orders.html#a8b7a56f211a03ba89adeb3d14bb010cb
Can a VM pro show me where this function is implemented? Which files I need to look at? (i need an example on standard vm payment plugins)
Best reegard