The order date that is displayed is loaded from the order created date.

This can cause confusion when a customer creates an order on one date, but doesn't pay the order until several days later.

Attached is a patch that will create a dependency on commerce_payment, and display the last transaction date.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aramboyajyan’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide a step by step instructions on how to replicate this issue, and what configuration are you using for delayed payments?

Thanks for reporting this!

aramboyajyan’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I'm closing this due to lack of activity.

svouthi’s picture

I just installed this module and experienced the same problem. I used an account with an existing shopping cart for testing and indeed, the order date displayed was the date the cart was created rather than the date of checkout completion. Thanks so much for your patch! I vote it be committed.

svouthi’s picture

Status: Closed (cannot reproduce) » Active
jmdeleon’s picture

Adapted the original patch so that the Order Created date is not clobbered by the Payment Received date. The Order Created date is now kept and a new Payment Received date is added to the template info array.

jmdeleon’s picture

(Uploaded a zero-length file in #5)

Adapted the original patch so that the Order Created date is not clobbered by the Payment Received date. The Order Created date is now kept and a new Payment Received date is added to the template info array.