Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sending invoice email after capture #8

Merged
merged 3 commits into from
Oct 23, 2024
Merged

Add sending invoice email after capture #8

merged 3 commits into from
Oct 23, 2024

Conversation

sekulich-mygento
Copy link
Contributor

No description provided.

@@ -108,6 +116,14 @@ public function proceedCapture($order, $transactionId, $amount, $transData = [])
$transData
);
}
$invoice = $payment->getCreatedInvoice();
if ($invoice && !$invoice->getEmailSent()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в теории, если ктото подцепился на создание/сэйв заказа, то как будто флаг EmailSent будет старым....

@luckyraul luckyraul force-pushed the v2.4 branch 3 times, most recently from 851726a to 8791283 Compare October 22, 2024 08:44
@sekulich-mygento sekulich-mygento force-pushed the v2.4.1 branch 2 times, most recently from c9a48fb to 849a227 Compare October 23, 2024 12:42
@luckyraul luckyraul merged commit 0c9f9c2 into v2.4 Oct 23, 2024
4 checks passed
@luckyraul luckyraul deleted the v2.4.1 branch October 23, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants