We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 185ba95 commit 15625e6Copy full SHA for 15625e6
2 files changed
modules/ppcp-api-client/src/Helper/PaymentLevelHelper.php
@@ -330,6 +330,7 @@ private function build_level_3_line_items( array $items ): array {
330
if ( $item->product_id() ) {
331
$product = wc_get_product( $item->product_id() );
332
if ( $product ) {
333
+ /** @psalm-suppress UndefinedMethod - get_global_unique_id exists since WC 9.1.0 */
334
$gtin = $product->get_global_unique_id();
335
}
336
0 commit comments