Orders that have been confirmed & shipped suddenly get confirmed again

Started by BjornOnPole, March 26, 2014, 15:21:58 PM

Previous topic - Next topic

BjornOnPole

Hello,

My client is having trouble with VirtueMart sending confirmation emails, after these orders have already been confirmed and shipped.
Example:

On 2014-02-19 an order was placed and confirmed. The next day the status was set to shipped.

Then suddenly, two days ago (2014-03-24) the order status suddenly got set to confirmed again, including the sending of the confirmation email.

Here's a screenshot: http://i.imgur.com/rFHlsza.png


Can anyone help me with this issue? Point me in the right direction? I have no idea where this could be going wrong, and I couldn't really find anything on the forum about this issue.

TIA

Virtuemart 2.0.26d
Joomla! 2.5.19

Milbo

Do you send before the payment is done? Maybe the payment sets it back.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

alatak

Hello
Which payment and shipment are you using?
Go at the bottom of your order page and check the shipment and payment logs.
For example, if your payment is paypal, can you check if you received 2 IPNS at different date/time
if the IPN has already been received, the parameter txn_id should be be the same in the 2 IPNS, and in that case, the plugin should not process the IPN ie: it should not udpate the order status

BjornOnPole

Quote from: Milbo on March 30, 2014, 19:27:35 PM
Do you send before the payment is done? Maybe the payment sets it back.
The settings are that VirtueMart only sends order status emails on these order statuses: Confirmed, Canceled, Refunded and Shipped.
Or do you mean something else?

I also checked and AFAIK jdIdeal does not send any email.

BjornOnPole

Quote from: alatak on March 31, 2014, 10:20:05 AM
Hello
Which payment and shipment are you using?
Go at the bottom of your order page and check the shipment and payment logs.
For example, if your payment is paypal, can you check if you received 2 IPNS at different date/time
if the IPN has already been received, the parameter txn_id should be be the same in the 2 IPNS, and in that case, the plugin should not process the IPN ie: it should not udpate the order status
I was only able to find these logs on the order page, is this what you mean?

http://i.imgur.com/rFHlsza.png

I also checked the order in jdIdeal. I found only one order ID, with one purchase ID.
I did find that on the day the second order status email was sent, there was another placed with the same price, but nothing else matched.

alatak

Hello

I meant at the bottom of the order page. You should have the payment logs. But this is up to the payment plugin developer to add those infos.
I have joined an example for PayPal.
And in case of Paypal, it checks if the transaction has already been processed or not (based on the transaction id).
I think you should contact the jdIdeal payment plugin developer, and ask him.

[attachment cleanup by admin]