Subscription placement and confirmation emails (usually sent to the Hub only) are not arriving. Orders and payments come through, correctly. Noticed while testing #6534, but not introduced by this PR, but rather sometime between the last release and current master. Maybe introduced by #6634? ping @Matt-Yorkley
Four emails should arrive, when successfully placing subscriptions, see:
Only order confirmation emails are arriving,
As a customer on /account#/cards:
4000003800000446 | This card requires authentication for one-time and other on-session payments..As the Hub:
On the server terminal, under ~/apps/openfoodnetwork/current$
bundle exec rake ofn:subs:test:force_confirmation_job -> this triggers:No workaround, the emails don't arrive to the Hub.
I think this might be a release blocker?
bug-s2: a non-critical feature is broken, no workaround
It's puzzling to me that this is happening in master, so I'd like to figure out why; I was able to reproduce the issue locally and fix it with https://github.com/openfoodfoundation/openfoodnetwork/pull/6534/commits/9c75a232cd0c2bed85827bc55bcdc91001e30620 (@filipefurtad0 should confirm, however).
@andrewpbrett are we planning to get #6534 into this release? Or should we submit that commit to master?
I think there's a good chance it'll make it in. The emails thing was the only thing blocking it; @filipefurtad0 found another issue that needs feedback but I don't think it'd be a blocker.
I made a quick two-line-PR for master, it shouldn't conflict with the other PR. https://github.com/openfoodfoundation/openfoodnetwork/pull/6684