@yandexpay
Ошибка в неравенстве суммы заказа и пересчитаных позиций, справляется вот так:
private function get_item_total( $item ) {
return round( $item->get_total() + $item->get_total_tax(), 2 );
}
Файл “yandex-pay-and-split/includes/payment-methods/class-wc-gateway-yandex-pay-and-split.php”
Same issue for me. Working for single categories, but no any effect on “all product categories”
@giuse is there any plans to fix this error? Or mby this works in pro version 🙂
@danielriera unfortunately latest update does not fix the issue, we also experience endless loop and “PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes)” in the end.
We tried to fix it on our own and updated line 277 like this
OLD: if($iteration == $daysToAdd) {
NEW: if($iteration >= $daysToAdd) {
Now plugin is working again, please consider this in next release 🙂