Getting variable from Database
Prepend the table prefix to iyzico_order_refunds instead of the $wpdb object: $payment_transaction_id = $wpdb->get_var( “SELECT payment_transaction_id FROM {$wpdb->prefix}iyzico_order_refunds} WHERE order_id=769 AND item_id=760” );