After applying the patch from (#11), we are getting the below error in 10.3.1. The below patch is the solution for the same.
The above patch (#24) is not working with Drupal 10.3.x. Here is the patch for the Drupal 10.3.x version.
We have a scenario involving upgrade and downgrade options. When a user upgrades to a higher plan, downgrades to a lower plan, and then cancels the purchase, it may result in a situation where we need to refund an amount greater than the current order value.
The patch below helps prevent this issue and ensures proper handling of such cases.
We have added the patch in the commerce exchanger module. https://www.drupal.org/project/commerce_exchanger/issues/3177803#comment... ✨ Don't convert the price if the exchanger is not enabled Closed: works as designed
To make that work, the below patch needs to be added in commerce_currency_resolver. Otherwise, we will get the below error,
Fatal error: Class Drupal\commerce_currency_resolver\PriceExchangerCalculator contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\commerce_exchanger\ExchangerCalculatorInterface::exchangerIsEnabled) in /var/www/html/web/modules/contrib/commerce_currency_resolver/src/PriceExchangerCalculator.php on line 12
The patch provided in comment #2 does not account for the "commerce_currency_resolver.settings" configuration values. We've addressed this issue and updated the patch accordingly.
#18 what we need to do with service modifiers?
#13 is not working as expected. It is sending email twice.
We are encountering the following error in the backend while attempting to send the invoice confirmation email.
RuntimeException: Failed to start the session because headers have already been sent by "/var/www/html/vendor/symfony/http-foundation/Response.php" at line 431. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 132 of /var/www/html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php)
It sends an email to the user. However, the invoice status is marked as "pending" instead of "paid".
Filename - commerce_invoice/src/Mail/InvoiceConfirmationMail.php
Line no - 103
return $this->mailHandler->sendMail($to, $subject, $body, $params);
If we comment out this line, the invoice status updated correctly, but the email is not sent to the user.
I am using Drupal 10.3.2.
Any solutions? Thanks in advance.
Session limit 2.0.1 is getting conflicted with hook_event_subscriber module. This patch resolves the conflict.
Created a new patch for the above issue.
Getting the below error after upgrading the Drupal version to 10.3.1.
PHP Fatal error: Class Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\Core\DestructableInterface::destruct) in /var/www/html/web/modules/contrib/hook_event_dispatcher/src/HookEventDispatcherModuleHandler.php on line 15
Rajivgandhi → created an issue.
Created a new patch for the earch API Solr version 4.2.12.