If users are purchasing items by Paypal, but never actually completing the transaction on the Paypal website, the transaction will remain in "pending" status indefinitely.

Is it possible to have a function (either manually run by admin or called by cron) that will purge these stale transactions from the transaction list after a certain number of days? Perhaps the function could also email the user that started the transaction to inform/remind them that their transaction was not completed and that they were not charged (in case they are waiting impatiently by the postbox for their order...).

Thanks again for a great module.

Bjorn

Comments

sime’s picture

Component: store.module » store
Status: Active » Closed (won't fix)

not a good idea to tamper with history.

matw8’s picture

The problem I've found is that if a user logs in 12 months later and purchases the same product (i.e. an annual fee) it will pick up the original transaction. If the price has changed, this is a nightmare.

I'd like to automatically cancel transactions after a month or so pending.