We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Há um erro no método createInvoice da classe: Pagarme\Pagarme\Observer\SalesOrderPlaceAfter
Há um return true logo no início do método:
return true
`public function createInvoice($order) { return true;
$payment ->setIsTransactionClosed(true) ->registerCaptureNotification( $order->getGrandTotal(), true ); $order->save(); // notify customer $invoice = $payment->getCreatedInvoice(); if ($invoice && !$order->getEmailSent()) { $order->addStatusHistoryComment( 'PGM - ' . __( 'Notified customer about invoice #%1.', $invoice->getIncrementId() ) )->setIsCustomerNotified(true) ->save(); } return true; }`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Há um erro no método createInvoice da classe: Pagarme\Pagarme\Observer\SalesOrderPlaceAfter
Há um
return true
logo no início do método:`public function createInvoice($order)
{
return true;
The text was updated successfully, but these errors were encountered: