WPIntell

Source evidence

Bug in usage of the wcs_renewal_order_created hook

Kustom Checkout for WooCommerce · support · 2026-06-05T10:23:00+00:00

complaintsentiment
highseverity
0.91relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 28 rows with source links

7.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Marcus unresolved
Hi, In copy_meta_fields_to_renewal_order which is called via the wcs_renewal_order_created hook you don’t return $renewal_order. This causes subsequent wcs_renewal_order_created hooks to receive a null value for $renewal_order. $renewal_order must be returned both in the early payment method check, but also at the end of the method. This is because WooCommerce Subscription calls apply_filters instead of do_action for wcs_renewal_order_created, which sends the output of the previous hook as arguments to the next. I’m not entirely sure if something has changed either within WordPress or within WooCommerce Subscriptions to alter this, but it is now causing an issue in our payment gateway (woo-vipps). I’ve had to temporarily lower our filter priority to 5 instead of 10. Hi! Thanks for reporting this. This will be fixed in the next version.

Comments

1 shown
Andreas – Krokedil 2026-06-05T13:09:00+00:00

Hi! Thanks for reporting this. This will be fixed in the next version.