Sales send order emails cron not working(Magento 2.4.3-p2) - magento2.4

I have upgraded Magento from 2.4.3-p1 to 2.4.3-p2 and I have enabled the Asynchronous sending from admin(Admin > Sales > Sales Email). I am not getting the order confirmation emails. I am getting the following error in cron(sales_send_order_emails):
report.CRITICAL: Error when running a cron job {"exception":"[object] (RuntimeException(code: 0): Error when running a cron job at vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php:368, Error(code: 0): Call to a member function getData() on array at vendor/magento/framework/Filter/VariableResolver/StrictResolver.php:119)"}.

Related

Laravel Cashier throwing exception No such subscription on cancel subscription

"No such subscription: 'sub_Ic51hhLuYFOFNN' ".
I am trying to cancel a stripe subscription using Laravel cashier. Upon
calling the cancelNow() function Stripe throws an exception. Every time I send a different Stripe plan but Stripe throws the same exception:
No such subscription: 'sub_Ic51hhLuYFOFNN'
if ($user->subscription('main',$subscription->stripe_plan)->cancelNow()) {
session()->flash('error', 'Unsubscribed package succesfully.');
}
This error shows that there is no subscription with the id provided. Maybe you have to check the environment of Stripe you use. There are different data based on the env you are, so you have to check if the data exist on your env.
In stripe there are two different envs: production and test

How to catch mailgun errors in laravel

I have mailgun set up and working just fine. The problem occurs when I try to send an email to an email which doesn't exists. Use can put any email so if the email is correct mailgun sends it perfectly. But if it is incorrect it generates an error in laravel applications
Swift_TransportException (554)
Expected response code 250 but got code "554", with message "554 Free
accounts are for test purposes only. Please upgrade or add the address to
authorized recipients in Account Settings.
How can I catcth this exception in laravel without generating errors?

PayZone payment gateway magento Error

Integrated PayZone Payment gateway with magento using their magento module on a hosted payment platform. (redirect to payment provider then back to website)
Getting the below error after card details entered
Fatal error: Call to undefined method Mage_Checkout_Model_Type_Onepage::saveOrderAfterRedirectedPaymentAction() in /home/magentowebsite/public_html/app/code/local/Payzone/Tpg/controllers/PaymentController.php on line 499
Any ideas on how what may be causing this issue?

Checkout Script failing with error as 403 session expired while performing checkout through JMEter

I have recorded a script and performing the load test on the same but whenever it comes to billing address the script gets failed with error 403 session expired. The flow of my script is
launch application-->select any course-->Add course to cart-->login with valid cred-->enter card and billing address details (CC) or the third party-->click on place order--> get transaction successful message.
Whenever script reached to billing and address details page shows error as 403 sessions expired.causing following script failure
Please suggest. Performing checkout on Magento.

"PayPal gateway has rejected request" in Magento and Paypal

PayPal gateway has rejected request. The transaction id is not valid (#10004: Transaction refused because of an invalid argument. See additional error messages for details).
This error has popped up all of a sudden. It used to work perfectly fine. This error occurs while trying to invoice an order in Magento backend.
That could be due to wrong currency.
Please check this:
https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_errorcodes
There was an issue with PayPal this morning. It should all be working again now (our store is) https://www.x.com/content/resolved-major-impact-express-checkout-paypal-apis-virtual-terminal-and-website-payments-pro

Resources