Easy-digital-downloads: 3.0 - Orders table - edd_payment_row_actions filter not being applied

Created on 3 Mar 2020  路  6Comments  路  Source: easydigitaldownloads/easy-digital-downloads

Bug Report

Expected behavior

When I install the PDF Invoices add-on, I expect a Download Invoice row action to appear when I hover over an order.

Actual behavior

No such row action appears. This is due to the edd_payment_row_actions filter missing. This filter was used to hook in to add additional row actions.

Steps to reproduce the behavior

1) Install PDF Invoices add-on.
2) Go to Downloads > Orders and hover over an order.
3) No Download Invoice link appears.

Information (if a specific version is affected):

PHP Version:

EDD Version (or branch): release/3.0 / PDF Invoices master branch

WordPress Version:

Any other relevant information:

All the logic for this is there in the column_email() payments table method. I suspect what happened is that the email column was at one point the primary, then it got swapped to column_number() and the filter just got missed off.

Related-ish: the Resend Purchase Receipt link from EDD core is also missing. Was this intentional or should we add it back in?

component-orders type-bug

All 6 comments

I use the Resend Purchase Receipt row action pretty frequently and I'm fairly certain I'm not alone on that. I feel we should keep it.

My guess about Resend Purchase Receipt no longer being there is the new support for selecting which email address to send the receipt to when viewing the order (see UI here).

A link in the main table could always send it to the default email address (which I assume is current core behavior) or it could bring up a selector in a modal to let the user still pick the email address.

We've had a UI for selecting the email to send to for several years now. The row action just defaults to the primary email.

PR: #7618

Screenshot from 2020-03-03 14-29-08

If you want to add a modal, @spencerfinnell I leave that up to you! :P

@nosegraze Matching current behavior by sending to the default email address makes sense to me.

Current PR sends it to the email address associated with the order record. I guess that's the email that was used for the order, which may not necessarily be the primary email for the customer? (If it has since changed or whatever.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

colomet picture colomet  路  4Comments

zackkatz picture zackkatz  路  4Comments

Ismail-elkorchi picture Ismail-elkorchi  路  3Comments

JJJ picture JJJ  路  5Comments

mindctrl picture mindctrl  路  4Comments