Closed metal450 closed 11 years ago
I do really like that idea. Perhaps an order would be considered abandoned if left as pending for one week?
We have to allow at least 4-6 days in order to account for PayPal echecks.
Sure. I might do even longer, just to be safe. Like 10 days. One of my PayPal eCheck receipts says: "It usually takes about 5-7 days for you to receive the money," which makes it sound like it could take even longer than 7.
...Or, perhaps IPN can actually tell you if it's waiting for an eCheck, rather than if the user just never went through? That sounds more likely - that PayPal would have some notification for that.
I believe there is an IPN that gets sent when an echeck is processing, so perhaps we could record a meta key for "processing" and then exclude any processing orders from getting marked as abandoned.
There ya go :)
One more note about this: I just bought the Affiliates Pro+EDD integration, and it's left with bunches of "Pending" referrals; once you get to this in 1.6, it would be nice if the EDD integration pack would also set referrals to i.e. "Rejected" (or just delete them) when the extra pending orders timeout. i.e. for one order, sometimes I end up with 3 pendings and one actual one - which makes it look like tons of referrals are coming through, when in fact, it was only just the one :)
@pippinsplugins Milestone 1.6 please.
Let's add a new "incomplete" status for this.
Or should we just use the Failed status? Thoughts?
I'd check what kinds of statuses/events Paypal IPN reports - I think there's a distinct situation for "failed," which is different from my notion of "abandoned" (i.e. something actually went wrong - rather than the user just clicking "Purchase" and then not bothering to fully complete it). "Abandoned" would be distinct from anything Paypal would actually come back to report.
That's exactly what I was thinking. I'm voting for "incomplete".
Why not register a land use an incomplete status?
Lol meant to say abandoned
Do what now?
We're trying to distinguish abandoned orders from actual pending orders. We should mark the abandoned ones abandoned.
lol, I have no clue how your comment above translates to that, but yes, you're right, that's what we need to do.
Does marking orders as abandoned after one week sound fine?
Success: http://screencloud.net/v/swGz
After having my store live for a few weeks, I've noticed a number of orders left indefinitely as "Pending." As I understand it, this happens when the buyer clicks "Purchase," but doesn't actually complete payment (i.e. with PayPal).
As a possible enhancement, I'd suggest adding a new status of "Abandoned," where a Pending order is changed to Abandoned after an elapsed period of time, and where "Abandoned" orders are not listed as part of "All" on the "Purchase History" page. This is how my previous eStore handled it, which I thought was a nice compromise: the order history remains more accurate, while at the same time you can explicitly check how many users turned back at the last minute (by explicitly viewing the "Abandoned" status).
For instance, in many cases I end up with several "Pending" orders in a row, followed by a "Complete" order by the same user. When looking at my total order count, this erroneously inflates the number, but if these "Pending" orders were "Abandoned" and not included in the "All" list, the order count would more accurately represent the number of orders I've actually received.